mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/av1_parser: don't set AVCodecContext pixel format
This is a property a decoder must set, not a parser. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
2b9f39689a
commit
bab3c32351
1 changed files with 0 additions and 2 deletions
|
|
@ -155,8 +155,6 @@ static int av1_parser_parse(AVCodecParserContext *ctx,
|
||||||
color->transfer_characteristics == AVCOL_TRC_IEC61966_2_1)
|
color->transfer_characteristics == AVCOL_TRC_IEC61966_2_1)
|
||||||
ctx->format = pix_fmts_rgb[color->high_bitdepth + color->twelve_bit];
|
ctx->format = pix_fmts_rgb[color->high_bitdepth + color->twelve_bit];
|
||||||
|
|
||||||
avctx->pix_fmt = ctx->format;
|
|
||||||
|
|
||||||
avctx->profile = seq->seq_profile;
|
avctx->profile = seq->seq_profile;
|
||||||
avctx->level = seq->seq_level_idx[0];
|
avctx->level = seq->seq_level_idx[0];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue