Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2009 13:35:54 +0000 (13:35 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2009 13:35:54 +0000 (13:35 +0000)
reason as mpeg2. (telecine amongth others)

Originally committed as revision 17551 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index f5bcf89..46a1b5f 100644 (file)
@@ -1976,7 +1976,9 @@ 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_id == CODEC_ID_MPEG2VIDEO)
+       || c->codec_id == CODEC_ID_MPEG2VIDEO
+       || c->codec_id == CODEC_ID_H264
+       )
         return 1;
     return 0;
 }