comparison faxcompr.c @ 8472:771f97593234 libavcodec

10l != vs. == (yes, my fault not kostya's).
author michael
date Fri, 26 Dec 2008 14:39:21 +0000
parents 4185a779d449
children 412697cccf8e
comparison
equal deleted inserted replaced
8471:4185a779d449 8472:771f97593234
250 { 250 {
251 unsigned int state = -1; 251 unsigned int state = -1;
252 srcsize -= get_bits_count(gb); 252 srcsize -= get_bits_count(gb);
253 while(srcsize-- > 0){ 253 while(srcsize-- > 0){
254 state+= state + get_bits1(gb); 254 state+= state + get_bits1(gb);
255 if((state & 0xFFF) != 1) 255 if((state & 0xFFF) == 1)
256 return 0; 256 return 0;
257 } 257 }
258 return -1; 258 return -1;
259 } 259 }
260 260