[Ffmpeg-cvslog] r8423 - trunk/libavformat/utils.c

michael subversion
Fri Mar 16 23:31:57 CET 2007


Author: michael
Date: Fri Mar 16 23:31:57 2007
New Revision: 8423

Modified:
   trunk/libavformat/utils.c

Log:
remove special case for h.264 whatever this was supposed to do its not correct


Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Fri Mar 16 23:31:57 2007
@@ -602,8 +602,7 @@ static void compute_pkt_fields(AVFormatC
     if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
         /* XXX: need has_b_frame, but cannot get it if the codec is
            not initialized */
-        if ((   st->codec->codec_id == CODEC_ID_H264
-             || st->codec->has_b_frames) &&
+        if (st->codec->has_b_frames &&
             pc && pc->pict_type != FF_B_TYPE)
             presentation_delayed = 1;
         /* this may be redundant, but it shouldnt hurt */




More information about the ffmpeg-cvslog mailing list