diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 01:04:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 01:04:02 +0200 |
commit | 901f4bb6fc703a8d18ed6c5ff1a33d6da93179f5 (patch) | |
tree | 8acfc516793ec969f276ab9aab647d6c68aa9955 | |
parent | f5581266f767eba562d12f0466c21fb474bc1114 (diff) | |
download | ffmpeg-901f4bb6fc703a8d18ed6c5ff1a33d6da93179f5.tar.gz |
utils: consider mpeg4 in mp4/mov to have a unreliable timebase
Partly fixes Ticket1664
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a20849c713..be1be00b76 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 ) |