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

michael subversion
Sat Mar 17 15:44:22 CET 2007


Author: michael
Date: Sat Mar 17 15:44:22 2007
New Revision: 8433

Modified:
   trunk/libavformat/utils.c

Log:
remove incorrect special case for audio


Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Sat Mar 17 15:44:22 2007
@@ -671,17 +671,8 @@ static void compute_pkt_fields(AVFormatC
     if (pc) {
         pkt->flags = 0;
         /* key frame computation */
-        switch(st->codec->codec_type) {
-        case CODEC_TYPE_VIDEO:
             if (pc->pict_type == FF_I_TYPE)
                 pkt->flags |= PKT_FLAG_KEY;
-            break;
-        case CODEC_TYPE_AUDIO:
-            pkt->flags |= PKT_FLAG_KEY;
-            break;
-        default:
-            break;
-        }
     }
 }
 




More information about the ffmpeg-cvslog mailing list