changeset 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
files faxcompr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/faxcompr.c	Fri Dec 26 13:52:07 2008 +0000
+++ b/faxcompr.c	Fri Dec 26 14:39:21 2008 +0000
@@ -252,7 +252,7 @@
     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;