1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00

Fix potential read from an unitialized pointer (CID: 236)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2006-03-09 22:09:03 +00:00
parent 7a649cdcff
commit a2d1fa71e8

View File

@ -1207,7 +1207,7 @@ static demuxer_t* demux_open_real(demuxer_t* demuxer)
int codec_pos;
int tmp;
int len;
char *descr, *mimet;
char *descr, *mimet = NULL;
stream_id = stream_read_word(demuxer->stream);
mp_msg(MSGT_DEMUX,MSGL_V,"Found new stream (id: %d)\n", stream_id);