changeset 25975:90207684e2d8

cosmetics
author nicodvb
date Sat, 16 Feb 2008 11:02:04 +0000
parents 41719f1e663b
children 7e297cec88aa
files libmpdemux/demux_ts.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Sat Feb 16 10:58:23 2008 +0000
+++ b/libmpdemux/demux_ts.c	Sat Feb 16 11:02:04 2008 +0000
@@ -729,11 +729,9 @@
 
 			p = progid_for_pid(priv, es.pid, param->prog);
 			if(p != -1)
+			{
 				has_tables++;
-
-			if((param->prog == 0) && (p != -1))
-			{
-				if(chosen_pid)
+				if(!param->prog && chosen_pid)
 					param->prog = p;
 			}