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