[FFmpeg-devel] [PATCH]Do not assume timestamps for mp2

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Aug 28 18:27:06 CEST 2011


Hi!

Attached should fix the symptoms of ticket 418.

Please comment, Carl Eugen
-------------- next part --------------
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-devel mailing list