[FFmpeg-cvslog] r17551 - trunk/libavformat/utils.c

michael subversion
Tue Feb 24 14:35:57 CET 2009


Author: michael
Date: Tue Feb 24 14:35:54 2009
New Revision: 17551

Log:
Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
reason as mpeg2. (telecine amongth others)

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Tue Feb 24 02:41:44 2009	(r17550)
+++ trunk/libavformat/utils.c	Tue Feb 24 14:35:54 2009	(r17551)
@@ -1976,7 +1976,9 @@ static int tb_unreliable(AVCodecContext 
        || 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;
 }




More information about the ffmpeg-cvslog mailing list