summaryrefslogtreecommitdiff
path: root/libavcodec/av1_parser.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-08-25 15:01:43 -0300
committerJames Almer <jamrial@gmail.com>2020-08-25 15:01:43 -0300
commit0892b045095c41e85a010a5eba9c120c187420f8 (patch)
tree354627fed7f7ed97eb31787482cadf45c6be18cb /libavcodec/av1_parser.c
parent97819f15a8b776e3450cc10217f646da40013bf1 (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/av1_parser.c')
-rw-r--r--libavcodec/av1_parser.c2
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;