diff options
author | James Almer <jamrial@gmail.com> | 2020-08-25 21:01:43 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-08-25 21:01:43 +0300 |
commit | 0892b045095c41e85a010a5eba9c120c187420f8 (patch) | |
tree | 354627fed7f7ed97eb31787482cadf45c6be18cb /libavcodec | |
parent | 97819f15a8b776e3450cc10217f646da40013bf1 (diff) |
avcodec/av1_parser: fix parsing show_existing_frame headers
Regression since c8716b5029
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/av1_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index 1b9868d364..ab23195e85 100644 --- a/libavcodec/av1_parser.c +++ b/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; |