提交 40b331e1 编写于 作者: D Derek Buitenhuis

fic: Use proper quantization matrix index

The matrices are not zigzagged.

Fixes artefacting.
Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
上级 3956a5e0
......@@ -146,7 +146,8 @@ static int fic_decode_block(FICContext *ctx, GetBitContext *gb,
return AVERROR_INVALIDDATA;
for (i = 0; i < num_coeff; i++)
block[ff_zigzag_direct[i]] = get_se_golomb(gb) * ctx->qmat[i];
block[ff_zigzag_direct[i]] = get_se_golomb(gb) *
ctx->qmat[ff_zigzag_direct[i]];
fic_idct_put(dst, stride, block);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册