From ec5bdf498999cb745761d9fde922eb219cd4c73a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 26 Dec 2008 14:39:21 +0000 Subject: 10l != vs. == (yes, my fault not kostya's). Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/faxcompr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec') 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; -- cgit v1.2.1