libavcodec/proresdec2: Setup qmat_chroma according to RDD36

Signed-off-by: Harry Mallon <harry.mallon@codex.online>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Harry Mallon 2020-08-19 21:32:47 +01:00 committed by Michael Niedermayer
parent 973540118a
commit a606e3b339

View File

@ -289,7 +289,7 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf,
}
permute(ctx->qmat_chroma, ctx->prodsp.idct_permutation, ptr);
} else {
memset(ctx->qmat_chroma, 4, 64);
memcpy(ctx->qmat_chroma, ctx->qmat_luma, 64);
}
return hdr_size;