[FFmpeg-cvslog] Do not assume timestamps for mp2 format.

Carl Eugen Hoyos git at videolan.org
Sun Aug 28 21:43:49 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Aug 28 21:43:04 2011 +0200| [262ab1c59adc20f07dd7520dee6aae78d1a706e4] | committer: Carl Eugen Hoyos

Do not assume timestamps for mp2 format.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=262ab1c59adc20f07dd7520dee6aae78d1a706e4
---

 libavformat/mp3enc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 7e96d47..38a2665 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -183,6 +183,7 @@ AVOutputFormat ff_mp2_muxer = {
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
     .write_trailer     = mp2_write_trailer,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 



More information about the ffmpeg-cvslog mailing list