aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-09-28 16:43:04 +0200
committerAnton Khirnov <anton@khirnov.net>2023-10-03 16:57:02 +0200
commit3562993d82e49347757a7112009f5a1d2391cb74 (patch)
treed82f535b43d880e5a28bb0bc1d6ea8e9a879769f
parent80401b86d30a9348decef6341aa4779469fad281 (diff)
downloadffmpeg-3562993d82e49347757a7112009f5a1d2391cb74.tar.gz
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.
-rw-r--r--libavformat/gifdec.c2
1 files changed, 1 insertions, 1 deletions
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,
};