[FFmpeg-cvslog] utils: consider mpeg4 in mp4/mov to have a unreliable timebase

Michael Niedermayer git at videolan.org
Tue Oct 16 01:16:11 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 16 01:04:02 2012 +0200| [901f4bb6fc703a8d18ed6c5ff1a33d6da93179f5] | committer: Michael Niedermayer

utils: consider mpeg4 in mp4/mov to have a unreliable timebase

Partly fixes Ticket1664

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index a20849c..be1be00 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2475,6 +2475,7 @@ static int tb_unreliable(AVCodecContext *c){
        || c->time_base.den <    5L*c->time_base.num
 /*       || c->codec_tag == AV_RL32("DIVX")
        || c->codec_tag == AV_RL32("XVID")*/
+       || c->codec_tag == AV_RL32("mp4v")
        || c->codec_id == AV_CODEC_ID_MPEG2VIDEO
        || c->codec_id == AV_CODEC_ID_H264
        )



More information about the ffmpeg-cvslog mailing list