From a59d214b05a218969963ad4c5d68c3535febfd44 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 21 May 2023 13:10:16 +0200 Subject: [PATCH 2/3] avcodec/gif_parser: always set time_base Signed-off-by: Paul B Mahol --- libavcodec/gif_parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/gif_parser.c b/libavcodec/gif_parser.c index aa07585f4c..98902dbfc7 100644 --- a/libavcodec/gif_parser.c +++ b/libavcodec/gif_parser.c @@ -165,6 +165,9 @@ static int gif_parse(AVCodecParserContext *s, AVCodecContext *avctx, GIFParseContext *g = s->priv_data; int next; + avctx->time_base.num = 1; + avctx->time_base.den = 100; + *poutbuf_size = 0; *poutbuf = NULL; -- 2.39.1