[Mplayer-cvslog] CVS: main/libmpcodecs pullup.c,1.17,1.18

Richard Felker CVS syncmail at mplayerhq.hu
Fri Sep 3 01:51:07 CEST 2004


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv13971/libmpcodecs

Modified Files:
	pullup.c 
Log Message:
just some debugging junk i'd like to have in there for now :)

Index: pullup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/pullup.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- pullup.c	10 Jun 2004 05:06:34 -0000	1.17
+++ pullup.c	2 Sep 2004 23:51:05 -0000	1.18
@@ -418,8 +418,11 @@
 	struct pullup_field *f2 = f1->next;
 	struct pullup_field *f3 = f2->next;
 	int l, max_l=0, max_r=0;
+	//struct pullup_field *ff;
+	//for (i=0, ff=c->first; ff != f0; i++, ff=ff->next);
 
 	if (f0->flags & F_HAVE_BREAKS) return;
+	//printf("\n%d: ", i);
 	f0->flags |= F_HAVE_BREAKS;
 
 	/* Special case when fields are 100% identical */
@@ -438,6 +441,7 @@
 		if (-l > max_r) max_r = -l;
 	}
 	/* Don't get tripped up when differences are mostly quant error */
+	//printf("%d %d\n", max_l, max_r);
 	if (max_l + max_r < 128) return;
 	if (max_l > 4*max_r) f1->breaks |= BREAK_LEFT;
 	if (max_r > 4*max_l) f2->breaks |= BREAK_RIGHT;




More information about the MPlayer-cvslog mailing list