mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
fic: Use proper quantization matrix index
The matrices are not zigzagged. Fixes artefacting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
ab14bcb104
commit
6d149d2818
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user