X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fffv1_template.c;h=c5f61b01823b3356411f3597202a46384f33c4f0;hb=9badc602928a2e14797e4d0e4a20770e42932b7d;hp=f2ab93313a6740f32869ac38ec0ebf5610d4a11e;hpb=0dda0f3bdb7e8a2d5bef7457375f72f38a100ccb;p=ffmpeg diff --git a/libavcodec/ffv1_template.c b/libavcodec/ffv1_template.c index f2ab93313a6..c5f61b01823 100644 --- a/libavcodec/ffv1_template.c +++ b/libavcodec/ffv1_template.c @@ -37,7 +37,7 @@ static inline int RENAME(get_context)(PlaneContext *p, TYPE *src, const int RT = last[1]; const int L = src[-1]; - if (p->quant_table[3][127]) { + if (p->quant_table[3][127] || p->quant_table[4][127]) { const int TT = last2[0]; const int LL = src[-2]; return p->quant_table[0][(L - LT) & 0xFF] +