From a2d1fa71e8fdea605ff5f1ac8ec5cb4021fee34d Mon Sep 17 00:00:00 2001 From: rtognimp Date: Thu, 9 Mar 2006 22:09:03 +0000 Subject: Fix potential read from an unitialized pointer (CID: 236) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17789 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_real.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpdemux') 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); -- cgit v1.2.3