summaryrefslogtreecommitdiff
path: root/libavformat/mpjpegdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-21 19:41:56 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-21 20:07:50 +0100
commit0028da36cdb93b33e1fc735af8fd825377f7936e (patch)
tree770b0946a16729df781aa75d96b3199f25059cc4 /libavformat/mpjpegdec.c
parent6dc1d5f87ced885d748f8d0c7bfbc5ff6471483f (diff)
avformat/mpjpegdec: add AVFMT_NOTIMESTAMPS
there are no timestamps being set, thus do not attempt to collect any Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mpjpegdec.c')
-rw-r--r--libavformat/mpjpegdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c
index 9d539bbf53..4c2a46ba74 100644
--- a/libavformat/mpjpegdec.c
+++ b/libavformat/mpjpegdec.c
@@ -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,
};