[FFmpeg-cvslog] avcodec/av1_parser: fix parsing show_existing_frame headers

James Almer git at videolan.org
Tue Aug 25 21:18:38 EEST 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Aug 25 15:01:43 2020 -0300| [0892b045095c41e85a010a5eba9c120c187420f8] | committer: James Almer

avcodec/av1_parser: fix parsing show_existing_frame headers

Regression since c8716b5029

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0892b045095c41e85a010a5eba9c120c187420f8
---

 libavcodec/av1_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list