[FFmpeg-cvslog] lavf/gifdec: do not mark as notimestamps

Anton Khirnov git at videolan.org
Tue Oct 3 18:01:08 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Sep 28 16:43:04 2023 +0200| [3562993d82e49347757a7112009f5a1d2391cb74] | committer: Anton Khirnov

lavf/gifdec: do not mark as notimestamps

The demuxer does not set packet timestamps itself after
c6b6356635f598b095606cd126f31bc6ab916225 and instead relies on the
parser to do it. However, this does not matter from the caller
perspective as it still happens inside the demuxer. The demuxer should
thus not be flagged as not having timestamps.

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

 libavformat/gifdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c
index 774358e1fa..32286adafe 100644
--- a/libavformat/gifdec.c
+++ b/libavformat/gifdec.c
@@ -285,7 +285,7 @@ const AVInputFormat ff_gif_demuxer = {
     .read_probe     = gif_probe,
     .read_header    = gif_read_header,
     .read_packet    = gif_read_packet,
-    .flags          = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,
+    .flags          = AVFMT_GENERIC_INDEX,
     .extensions     = "gif",
     .priv_class     = &demuxer_class,
 };



More information about the ffmpeg-cvslog mailing list