avcodec/av1_parser: fix parsing show_existing_frame headers

Regression since c8716b5029

Signed-off-by: James Almer <jamrial@gmail.com>
pull/350/head
James Almer 5 years ago
parent 97819f15a8
commit 0892b04509
  1. 2
      libavcodec/av1_parser.c

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

Loading…
Cancel
Save