[FFmpeg-cvslog] libavcodec/proresdec2: Setup qmat_chroma according to RDD36
Harry Mallon
git at videolan.org
Thu Aug 20 14:28:54 EEST 2020
ffmpeg | branch: master | Harry Mallon <harry.mallon at codex.online> | Wed Aug 19 21:32:47 2020 +0100| [a606e3b3393dec611f3830d2397651a943280546] | committer: Michael Niedermayer
libavcodec/proresdec2: Setup qmat_chroma according to RDD36
Signed-off-by: Harry Mallon <harry.mallon at codex.online>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a606e3b3393dec611f3830d2397651a943280546
---
libavcodec/proresdec2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list