diff options
Diffstat (limited to 'libmpcodecs/pullup.c')
-rw-r--r-- | libmpcodecs/pullup.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libmpcodecs/pullup.c b/libmpcodecs/pullup.c index 6914d114c6..4ed0e9a10f 100644 --- a/libmpcodecs/pullup.c +++ b/libmpcodecs/pullup.c @@ -424,10 +424,13 @@ static void compute_breaks(struct pullup_context *c, struct pullup_field *f0) /* Special case when fields are 100% identical */ if (f0->buffer == f2->buffer && f1->buffer != f3->buffer) { - f0->breaks |= BREAK_LEFT; f2->breaks |= BREAK_RIGHT; return; } + if (f0->buffer != f2->buffer && f1->buffer == f3->buffer) { + f1->breaks |= BREAK_LEFT; + return; + } for (i = 0; i < c->metric_len; i++) { l = f2->diffs[i] - f3->diffs[i]; @@ -677,7 +680,7 @@ void pullup_init_context(struct pullup_context *c) c->comb = licomb_y_mmx; } #endif - //c->comb = qpcomb_y; + /* c->comb = qpcomb_y; */ break; #if 0 case PULLUP_FMT_YUY2: |