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

nicodvb subversion at mplayerhq.hu
Sat Feb 16 12:02:04 CET 2008


Author: nicodvb
Date: Sat Feb 16 12:02:04 2008
New Revision: 26007

Log:
cosmetics

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Sat Feb 16 12:02:04 2008
@@ -729,11 +729,9 @@ static off_t ts_detect_streams(demuxer_t
 
 			p = progid_for_pid(priv, es.pid, param->prog);
 			if(p != -1)
-				has_tables++;
-
-			if((param->prog == 0) && (p != -1))
 			{
-				if(chosen_pid)
+				has_tables++;
+				if(!param->prog && chosen_pid)
 					param->prog = p;
 			}
 



More information about the MPlayer-cvslog mailing list