mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
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:
@@ -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);
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user