aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer2008-12-26 14:39:21 +0000
committerMichael Niedermayer2008-12-26 14:39:21 +0000
commitec5bdf498999cb745761d9fde922eb219cd4c73a (patch)
treef18136965b02f050df2130459df6829f96ac4da5 /libavcodec
parent679f3fa9016b4d67909af611d61b1476edfc5fb3 (diff)
10l != vs. == (yes, my fault not kostya's).
Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/faxcompr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index 5cc7657659..0853ed4af6 100644
--- a/libavcodec/faxcompr.c
+++ b/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;