changeset 32606:c3a24e046795

Add memset to avoid using uninitialized data with sample in bug 1280.
author reimar
date Sat, 11 Dec 2010 22:19:46 +0000
parents 7b4f8ecdc33b
children 9a8baaf45cf2
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Sat Dec 11 21:11:33 2010 +0000
+++ b/libmpdemux/demux_ts.c	Sat Dec 11 22:19:46 2010 +0000
@@ -2758,6 +2758,7 @@
 	TS_stream_info *si;
 
 
+	memset(es, 0, sizeof(*es));
 	while(1)
 	{
 		bad = ts_error = 0;