History

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.

Clément Bœsch committed 2 years ago

Commit cbee0151 parent 631fa191 file · +1 −1Browse files

Unified · Split

libavcodec/proresenc_kostya.c+1−1
@@ -1018,7 +1018,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 1017 unmodified lines
10181018 bytestream_put_byte(&buf, ctx->quant_mat[i]);
10191019 // chroma quantisation matrix
10201020 for (i = 0; i < 64; i++)
1021− bytestream_put_byte(&buf, ctx->quant_mat[i]);
1021+ bytestream_put_byte(&buf, ctx->quant_chroma_mat[i]);
10221022 } else {
10231023 bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used
10241024 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t