Browse Source

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

Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
ec5bdf4989
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/faxcompr.c

+ 1
- 1
libavcodec/faxcompr.c 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;


Loading…
Cancel
Save