From 644b0c4c92f8d1694e43804fce393d70ace7b513 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 26 Sep 2008 02:07:56 +0000 Subject: [PATCH] Prevent image2 from complaining about non monotone timestamps as there are no timestamps in "raw" image2. Originally committed as revision 15419 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/img2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/img2.c b/libavformat/img2.c index c146d8a67a..f15a6da62e 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -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