aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-09-26 02:07:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-09-26 02:07:56 +0000
commit644b0c4c92f8d1694e43804fce393d70ace7b513 (patch)
tree4b34a2c7c9ae97473f79d26ffa3735f891be90a9 /libavformat
parent6c8050078eccb5fefccb6d8032396ac64a0c5e68 (diff)
downloadffmpeg-644b0c4c92f8d1694e43804fce393d70ace7b513.tar.gz
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/img2.c3
1 files changed, 2 insertions, 1 deletions
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