diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-09 22:09:03 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-09 22:09:03 +0000 |
commit | a2d1fa71e8fdea605ff5f1ac8ec5cb4021fee34d (patch) | |
tree | 45c35bd84fb01fa2b17b8cf657f975450ea53e7d /libmpdemux | |
parent | 7a649cdcff196837cd83e1816659a5498ba24aa0 (diff) |
Fix potential read from an unitialized pointer (CID: 236)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index 35eb71aefb..c517c7fa5c 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -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); |