changeset 10737:af906af4cf18

1000l
author rfelker
date Sun, 31 Aug 2003 19:18:21 +0000
parents 3e57b9c079b6
children b6b68224033d
files libmpcodecs/pullup.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/pullup.c	Sun Aug 31 19:15:33 2003 +0000
+++ b/libmpcodecs/pullup.c	Sun Aug 31 19:18:21 2003 +0000
@@ -342,6 +342,7 @@
 	if (max_r > 3*max_l) f->affinity = -1;
 	else if (max_l > 3*max_r) f->affinity = 1;
 	else if (max_l + max_r > 2048) {
+		l = t = 0;
 		for (i = 0; i < c->metric_len; i++) {
 			l += f->licomb[i] - f->next->licomb[i];
 			t += ABS(f->licomb[i] - f->next->licomb[i]);