[SCM] libav/experimental: fix h261 parsing bug

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:49:58 UTC 2013


The following commit has been merged in the experimental branch:
commit 0f812f5291850bc7471bfa5ecbb01313b01899a9
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Aug 14 17:58:30 2006 +0000

    fix h261 parsing bug
    
    Originally committed as revision 5997 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index e56978e..0f0abef 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -859,7 +859,6 @@ static int h261_find_frame_end(ParseContext *pc, AVCodecContext* avctx, const ui
         state= (state<<8) | buf[i];
         for(j=0; j<8; j++){
             if(((state>>j)&0xFFFFF) == 0x00010){
-                i++;
                 vop_found=1;
                 break;
             }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list