summaryrefslogtreecommitdiff
path: root/libavcodec/a64multienc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/a64multienc.c')
-rw-r--r--libavcodec/a64multienc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c
index 1cbd06492f..e184ca9d29 100644
--- a/libavcodec/a64multienc.c
+++ b/libavcodec/a64multienc.c
@@ -138,7 +138,7 @@ static void render_charset(AVCodecContext *avctx, uint8_t *charset,
if(INTERLACED) charset[y+0x800] = row2;
}
/* do we need to adjust pixels? */
- if (highdiff > 0 && lowdiff > 0) {
+ if (highdiff > 0 && lowdiff > 0 && c->mc_use_5col) {
if (lowdiff > highdiff) {
for (x = 0; x < 32; x++)
best_cb[x] = FFMIN(c->mc_luma_vals[3], best_cb[x]);