Quoting Paul B Mahol (2023-05-21 11:38:09) > From cbc9c6ea4df153caece779b9052761f23d6d31a1 Mon Sep 17 00:00:00 2001 > From: Paul B Mahol <one...@gmail.com> > Date: Sun, 21 May 2023 02:14:35 +0200 > Subject: [PATCH 2/3] avcodec/gifdec: set frame time_base > > Signed-off-by: Paul B Mahol <one...@gmail.com> > --- > libavcodec/gifdec.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c > index 0835c5bdd0..d66e16105b 100644 > --- a/libavcodec/gifdec.c > +++ b/libavcodec/gifdec.c > @@ -454,6 +454,7 @@ static av_cold int gif_decode_init(AVCodecContext *avctx) > > s->avctx = avctx; > > + avctx->time_base = av_make_q(1, 100);
The meaning of this field is not defined for decoding, so you should not set it. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".