mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avcodec/proresenc_kostya: use frame metadata instead of avctx
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
315f51128a
commit
4bd4fc56ab
@ -969,9 +969,9 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
bytestream_put_byte (&buf, frame_flags);
|
||||
|
||||
bytestream_put_byte (&buf, 0); // reserved
|
||||
bytestream_put_byte (&buf, avctx->color_primaries);
|
||||
bytestream_put_byte (&buf, avctx->color_trc);
|
||||
bytestream_put_byte (&buf, avctx->colorspace);
|
||||
bytestream_put_byte (&buf, pic->color_primaries);
|
||||
bytestream_put_byte (&buf, pic->color_trc);
|
||||
bytestream_put_byte (&buf, pic->colorspace);
|
||||
bytestream_put_byte (&buf, 0x40 | (ctx->alpha_bits >> 3));
|
||||
bytestream_put_byte (&buf, 0); // reserved
|
||||
if (ctx->quant_sel != QUANT_MAT_DEFAULT) {
|
||||
|
Loading…
Reference in New Issue
Block a user