fix to prevent uninitialized data

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@61 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
mws
2009-12-16 15:35:27 +00:00
parent 9bcbe03475
commit dcb8eb9513
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; CFile file;
bool need_gop = 0; bool need_gop = 0;
bool dst_done = 0; bool dst_done = 0;
bool was_cancel; bool was_cancel = false;
int retval = 0; int retval = 0;
buf = (unsigned char *) malloc(BUF_SIZE); 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); playback->FindAllPids(g_apids, g_ac3flags, &g_numpida, g_language);
} }
for (unsigned int count = 0; count < g_numpida; count++) { for (unsigned int count = 0; count < g_numpida; count++) {
bool name_ok; bool name_ok = false;
char apidnumber[10]; char apidnumber[10];
sprintf(apidnumber, "%d %X", count + 1, g_apids[count]); sprintf(apidnumber, "%d %X", count + 1, g_apids[count]);
enabled = true; enabled = true;