[MPlayer-cvslog] r32693 - trunk/libmpdemux/demux_ts.c

reimar subversion at mplayerhq.hu
Sat Dec 11 23:19:46 CET 2010


Author: reimar
Date: Sat Dec 11 23:19:46 2010
New Revision: 32693

Log:
Add memset to avoid using uninitialized data with sample in bug 1280.

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	Sat Dec 11 22:11:33 2010	(r32692)
+++ trunk/libmpdemux/demux_ts.c	Sat Dec 11 23:19:46 2010	(r32693)
@@ -2758,6 +2758,7 @@ static int ts_parse(demuxer_t *demuxer ,
 	TS_stream_info *si;
 
 
+	memset(es, 0, sizeof(*es));
 	while(1)
 	{
 		bad = ts_error = 0;


More information about the MPlayer-cvslog mailing list