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
1018 bytestream_put_byte(&buf, ctx->quant_mat[i]);1018 bytestream_put_byte(&buf, ctx->quant_mat[i]);
1019 // chroma quantisation matrix1019 // chroma quantisation matrix
1020 for (i = 0; i < 64; i++)1020 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]);
1022 } else {1022 } else {
1023 bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used1023 bytestream_put_byte (&buf, 0x00); // matrix flags - default matrices are used
1024 }1024 }

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