fix h261 parsing bug
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 14 Aug 2006 17:58:30 +0000 (17:58 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 14 Aug 2006 17:58:30 +0000 (17:58 +0000)
Originally committed as revision 5997 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h261.c

index e56978e..0f0abef 100644 (file)
@@ -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;
             }