1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-28 12:16:12 +02:00

10l != vs. == (yes, my fault not kostya's).

Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-12-26 14:39:21 +00:00
parent 679f3fa901
commit ec5bdf4989

View File

@ -252,7 +252,7 @@ static int find_group3_syncmarker(GetBitContext *gb, int srcsize)
srcsize -= get_bits_count(gb);
while(srcsize-- > 0){
state+= state + get_bits1(gb);
if((state & 0xFFF) != 1)
if((state & 0xFFF) == 1)
return 0;
}
return -1;