changeset 29338:dc46f6bc4610

Initialize es->lang to ensure a previous value does not get misattributed to a different track.
author reimar
date Tue, 23 Jun 2009 09:33:42 +0000
parents 02eecbea7797
children 0aa5dc20aee5
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Mon Jun 22 23:35:13 2009 +0000
+++ b/libmpdemux/demux_ts.c	Tue Jun 23 09:33:42 2009 +0000
@@ -2722,6 +2722,7 @@
 		rap_flag = 0;
 		mp4_dec = NULL;
 		es->is_synced = 0;
+		es->lang[0] = 0;
 		si = NULL;
 
 		junk = priv->ts.packet_size - TS_PACKET_SIZE;