Prevent image2 from complaining about non monotone timestamps as
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Sep 2008 02:07:56 +0000 (02:07 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Sep 2008 02:07:56 +0000 (02:07 +0000)
there are no timestamps in "raw" image2.

Originally committed as revision 15419 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/img2.c

index c146d8a..f15a6da 100644 (file)
@@ -409,7 +409,7 @@ AVOutputFormat image2_muxer = {
     img_write_header,
     img_write_packet,
     NULL,
-    AVFMT_NOFILE,
+    .flags= AVFMT_NOTIMESTAMPS | AVFMT_NOFILE
 };
 #endif
 #ifdef CONFIG_IMAGE2PIPE_MUXER
@@ -423,5 +423,6 @@ AVOutputFormat image2pipe_muxer = {
     CODEC_ID_MJPEG,
     img_write_header,
     img_write_packet,
+    .flags= AVFMT_NOTIMESTAMPS
 };
 #endif