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>
pull/346/head
Harry Mallon 4 years ago committed by Michael Niedermayer
parent 973540118a
commit a606e3b339
  1. 2
      libavcodec/proresdec2.c

@ -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;

Loading…
Cancel
Save