mirror of https://git.ffmpeg.org/ffmpeg.git
fix h261 parsing bug
Originally committed as revision 5997 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
732692d94c
commit
0f812f5291
|
@ -859,7 +859,6 @@ static int h261_find_frame_end(ParseContext *pc, AVCodecContext* avctx, const ui
|
||||||
state= (state<<8) | buf[i];
|
state= (state<<8) | buf[i];
|
||||||
for(j=0; j<8; j++){
|
for(j=0; j<8; j++){
|
||||||
if(((state>>j)&0xFFFFF) == 0x00010){
|
if(((state>>j)&0xFFFFF) == 0x00010){
|
||||||
i++;
|
|
||||||
vop_found=1;
|
vop_found=1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue