[FFmpeg-cvslog] avcodec/proresenc_kostya: fix chroma quantisation matrix in frame header
Clément Bœsch
git at videolan.org
Wed Jan 10 15:22:00 EET 2024
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Dec 11 01:23:12 2023 +0100| [cbee015867f26eea4aed8a23eba47f515ae329c0] | committer: Clément Bœsch
avcodec/proresenc_kostya: fix chroma quantisation matrix in frame header
Most of the time the quantisation matrices are the same, it only matters
with the proxy profile.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbee015867f26eea4aed8a23eba47f515ae329c0
---
libavcodec/proresenc_kostya.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index cf49614c84..ae697bb55f 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -1018,7 +1018,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
bytestream_put_byte(&buf, ctx->quant_mat[i]);
// chroma quantisation matrix
for (i = 0; i < 64; i++)
- bytestream_put_byte(&buf, ctx->quant_mat[i]);
+ bytestream_put_byte(&buf, ctx->quant_chroma_mat[i]);
} else {
bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used
}
More information about the ffmpeg-cvslog
mailing list