From 901f4bb6fc703a8d18ed6c5ff1a33d6da93179f5 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Tue, 16 Oct 2012 01:04:02 +0200
Subject: [PATCH] utils: consider mpeg4 in mp4/mov to have a unreliable
 timebase

Partly fixes Ticket1664

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavformat/utils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index a20849c7138..be1be00b767 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
        )
-- 
GitLab