mirror of
https://github.com/mpv-player/mpv
synced 2025-04-27 22:00:23 +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:
parent
7a649cdcff
commit
a2d1fa71e8
@ -1207,7 +1207,7 @@ static demuxer_t* demux_open_real(demuxer_t* demuxer)
|
|||||||
int codec_pos;
|
int codec_pos;
|
||||||
int tmp;
|
int tmp;
|
||||||
int len;
|
int len;
|
||||||
char *descr, *mimet;
|
char *descr, *mimet = NULL;
|
||||||
|
|
||||||
stream_id = stream_read_word(demuxer->stream);
|
stream_id = stream_read_word(demuxer->stream);
|
||||||
mp_msg(MSGT_DEMUX,MSGL_V,"Found new stream (id: %d)\n", stream_id);
|
mp_msg(MSGT_DEMUX,MSGL_V,"Found new stream (id: %d)\n", stream_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user