[SCM] libav/experimental: Finally enable B-frame decoding as all known samples work perfect

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:50:57 UTC 2013


The following commit has been merged in the experimental branch:
commit a1ef006823de991c546a89b3e9135617a3524582
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date:   Thu Sep 21 04:46:11 2006 +0000

    Finally enable B-frame decoding as all known samples work perfect
    
    Originally committed as revision 6309 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 7c56367..21a9890 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -4201,12 +4201,6 @@ static int vc1_decode_frame(AVCodecContext *avctx,
         return -1;
     }
 
-    /* skip B frames as they are not decoded correctly */
-    if(s->pict_type == B_TYPE){
-        av_free(buf2);
-        return buf_size;
-    }
-
     // for hurry_up==5
     s->current_picture.pict_type= s->pict_type;
     s->current_picture.key_frame= s->pict_type == I_TYPE;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list