[FFmpeg-devel] [PATCH] avformat/rawdec: set AVFMT_NOTIMESTAMPS on more demuxers

wm4 nfxjfg at googlemail.com
Fri Apr 17 21:59:36 CEST 2015


This affects a bunch of demuxers, including raw h264.
---
 libavformat/rawdec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rawdec.h b/libavformat/rawdec.h
index a464bbb..959dc6e 100644
--- a/libavformat/rawdec.h
+++ b/libavformat/rawdec.h
@@ -67,7 +67,7 @@ AVInputFormat ff_ ## shortname ## _demuxer = {\
 };
 
 #define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)\
-FF_DEF_RAWVIDEO_DEMUXER2(shortname, longname, probe, ext, id, AVFMT_GENERIC_INDEX)
+FF_DEF_RAWVIDEO_DEMUXER2(shortname, longname, probe, ext, id, AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS)
 
 #define FF_RAWSUB_DEMUXER_CLASS(name)\
 static const AVClass name ## _demuxer_class = {\
-- 
2.1.4



More information about the ffmpeg-devel mailing list