# HG changeset patch # User rfelker # Date 1071119032 0 # Node ID a18a54997671d2b2b082974ec557a83a4f5ee25c # Parent 03e8cbee73335820067e5d01441c3e3888c4ac20 change some hardcoded thresholds to match results of previous 100l bugfix (without the 100000000l this time!) diff -r 03e8cbee7333 -r a18a54997671 libmpcodecs/pullup.c --- a/libmpcodecs/pullup.c Thu Dec 11 04:56:19 2003 +0000 +++ b/libmpcodecs/pullup.c Thu Dec 11 05:03:52 2003 +0000 @@ -438,10 +438,10 @@ if (l > max_l) max_l = l; if (-l > max_r) max_r = -l; } - if (max_l + max_r < 128) 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 > 2048) { + else if (max_l + max_r > 1024) { l = t = 0; for (i = 0; i < c->metric_len; i++) { l += f->licomb[i] - f->next->licomb[i];