aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Mallon <harry.mallon@codex.online>2020-08-19 21:32:47 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-08-20 13:21:20 +0200
commita606e3b3393dec611f3830d2397651a943280546 (patch)
treeb710e42e45d67a91deb967966da6a2edc10df870
parent973540118a82d1dbaa3d4ae08b7014eb434ef82b (diff)
downloadffmpeg-a606e3b3393dec611f3830d2397651a943280546.tar.gz
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>
-rw-r--r--libavcodec/proresdec2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index d5fbfc6711..4e1d0dd3f1 100644
--- a/libavcodec/proresdec2.c
+++ b/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;