fix to prevent uninitialized data

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@61 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: dcb8eb9513
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-16 (Wed, 16 Dec 2009)



------------------
This commit was generated by Migit
This commit is contained in:
mws
2009-12-16 15:35:27 +00:00
parent 5bafebcb92
commit a4d32264dd
2 changed files with 2 additions and 2 deletions

View File

@@ -4127,7 +4127,7 @@ static off64_t copy_movie(MI_MOVIE_INFO * minfo, CMovieInfo * cmovie, bool onefi
CFile file;
bool need_gop = 0;
bool dst_done = 0;
bool was_cancel;
bool was_cancel = false;
int retval = 0;
buf = (unsigned char *) malloc(BUF_SIZE);

View File

@@ -763,7 +763,7 @@ void CMoviePlayerGui::PlayFile(void)
playback->FindAllPids(g_apids, g_ac3flags, &g_numpida, g_language);
}
for (unsigned int count = 0; count < g_numpida; count++) {
bool name_ok;
bool name_ok = false;
char apidnumber[10];
sprintf(apidnumber, "%d %X", count + 1, g_apids[count]);
enabled = true;