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

reimar subversion at mplayerhq.hu
Tue Jun 23 11:33:43 CEST 2009


Author: reimar
Date: Tue Jun 23 11:33:42 2009
New Revision: 29380

Log:
Initialize es->lang to ensure a previous value does not get misattributed
to a different track.

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	Tue Jun 23 01:35:13 2009	(r29379)
+++ trunk/libmpdemux/demux_ts.c	Tue Jun 23 11:33:42 2009	(r29380)
@@ -2722,6 +2722,7 @@ static int ts_parse(demuxer_t *demuxer ,
 		rap_flag = 0;
 		mp4_dec = NULL;
 		es->is_synced = 0;
+		es->lang[0] = 0;
 		si = NULL;
 
 		junk = priv->ts.packet_size - TS_PACKET_SIZE;


More information about the MPlayer-cvslog mailing list