1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avcodec/av1_parser: fix parsing show_existing_frame headers

Regression since c8716b5029

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2020-08-25 15:01:43 -03:00
parent 97819f15a8
commit 0892b04509

View File

@@ -110,7 +110,7 @@ static int av1_parser_parse(AVCodecParserContext *ctx,
if (obu->header.spatial_id > 0) if (obu->header.spatial_id > 0)
continue; continue;
if (!frame->show_frame) if (!frame->show_frame && !frame->show_existing_frame)
continue; continue;
ctx->width = frame->frame_width_minus_1 + 1; ctx->width = frame->frame_width_minus_1 + 1;