aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-12-11 17:08:37 +0000
committerGravatar rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-12-11 17:08:37 +0000
commit3b6504f723e4a440f466eb1a2fc12425a92b81ba (patch)
tree46bb1992820cd1b7c2cb2dda88c026df48e779b0 /libmpcodecs
parent661c1e76729934adfaa1340ade16fcdd0926714a (diff)
fixing more stupid mistakes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11632 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/pullup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/pullup.c b/libmpcodecs/pullup.c
index 77f1cb34a0..8a11d19bc9 100644
--- a/libmpcodecs/pullup.c
+++ b/libmpcodecs/pullup.c
@@ -451,10 +451,10 @@ static void compute_affinity(struct pullup_context *c, struct pullup_field *f)
if (l > max_l) max_l = l;
if (-l > max_r) max_r = -l;
}
- if (max_l + max_r < 32) return;
+ if (max_l + max_r < 64) return;
if (max_r > 2*max_l) f->affinity = -1;
else if (max_l > 2*max_r) f->affinity = 1;
- else if (max_l + max_r > 512) {
+ else if (max_l + max_r > 1024) {
l = t = 0;
for (i = 0; i < c->metric_len; i++) {
l += f->comb[i] - f->next->comb[i];