From 81317a1a7917f1811ff27f7304d80b6567756caf Mon Sep 17 00:00:00 2001 From: henry Date: Sun, 12 Feb 2006 17:01:30 +0000 Subject: do not forget to initialize dp->buffer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17612 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demuxer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpdemux') diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 4fe292687c..bf17d79bb6 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -190,6 +190,7 @@ inline static demux_packet_t* new_demux_packet(int len){ dp->flags=0; dp->refcount=1; dp->master=NULL; + dp->buffer=NULL; if (len > 0 && (dp->buffer = (unsigned char *)malloc(len + 8))) memset(dp->buffer + len, 0, 8); else -- cgit v1.2.3