[FFmpeg-soc] [soc]: r1046 - jpeg2000/aecenc.c

k.nowosad subversion at mplayerhq.hu
Mon Aug 20 15:09:50 CEST 2007


Author: k.nowosad
Date: Mon Aug 20 15:09:50 2007
New Revision: 1046

Log:
fixed a bug from r1028


Modified:
   jpeg2000/aecenc.c

Modified: jpeg2000/aecenc.c
==============================================================================
--- jpeg2000/aecenc.c	(original)
+++ jpeg2000/aecenc.c	Mon Aug 20 15:09:50 2007
@@ -82,7 +82,7 @@ void ff_aec_encode(AecState *aec, int cx
     aec->curcxstate = aec->cx_states + cx;
     qe = ff_aec_qe[*aec->curcxstate];
     aec->a -= qe;
-    if (*aec->curcxstate & 1 == d){
+    if ((*aec->curcxstate & 1) == d){
         if (!(aec->a & 0x8000)){
             if (aec->a < qe)
                 aec->a = qe;



More information about the FFmpeg-soc mailing list