X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fffv1_template.c;h=c5f61b01823b3356411f3597202a46384f33c4f0;hb=b9fff6e15e73dc995695db9be8db084238cca14c;hp=f2ab93313a6740f32869ac38ec0ebf5610d4a11e;hpb=ee96ab2db507b95a694f10b152481cf71842de28;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] +