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

nicodvb subversion at mplayerhq.hu
Sat Oct 28 12:59:17 CEST 2006


Author: nicodvb
Date: Sat Oct 28 12:59:17 2006
New Revision: 20488

Modified:
   trunk/libmpdemux/demux_ts.c

Log:
readability cosmetics

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Sat Oct 28 12:59:17 2006
@@ -2882,9 +2882,7 @@
 			tss->is_synced |= es->is_synced || rap_flag;
 			tss->payload_size = es->payload_size;
 
-			if(is_audio)
-				lang = pid_lang_from_pmt(priv, es->pid);
-			if(lang != NULL)
+			if(is_audio && (lang = pid_lang_from_pmt(priv, es->pid)))
 			{
 				memcpy(es->lang, lang, 3);
 				es->lang[3] = 0;



More information about the MPlayer-cvslog mailing list