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 committed 2006-03-09 22:09:03 +00:00
1 parent 7a649cdcff
commit a2d1fa71e8
1 file changed
+1 -1
+1 -1
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);