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