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

Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent 679f3fa901
commit ec5bdf4989
  1. 2
      libavcodec/faxcompr.c

@ -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;

Loading…
Cancel
Save