avformat/mpjpegdec: add AVFMT_NOTIMESTAMPS
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Feb 2016 18:41:56 +0000 (19:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Feb 2016 19:07:50 +0000 (20:07 +0100)
there are no timestamps being set, thus do not attempt to collect any

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpjpegdec.c

index 9d539bb..4c2a46b 100644 (file)
@@ -398,7 +398,8 @@ AVInputFormat ff_mpjpeg_demuxer = {
     .read_header       = mpjpeg_read_header,
     .read_packet       = mpjpeg_read_packet,
     .read_close        = mpjpeg_read_close,
-    .priv_class        = &mpjpeg_demuxer_class
+    .priv_class        = &mpjpeg_demuxer_class,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };