jl777 7 years ago
parent
commit
0594f8cb51
  1. 4
      iguana/exchanges/LP_privkey.c

4
iguana/exchanges/LP_privkey.c

@ -484,10 +484,10 @@ int32_t LP_jpg_process(int32_t *capacityp,char *inputfname,char *outputfname,uin
val = row_ptrs[compnum][0][blocknum][i]; val = row_ptrs[compnum][0][blocknum][i];
if ( val < -8 || val > 8 ) if ( val < -8 || val > 8 )
{ {
if ( *capacityp < required ) if ( (*capacityp) < required )
{ {
if ( (val & 1) != 0 ) if ( (val & 1) != 0 )
decoded[*capacityp >> 3] |= (1 << (*capacityp&7)); decoded[(*capacityp) >> 3] |= (1 << ((*capacityp)&7));
} }
(*capacityp)++; (*capacityp)++;
} }

Loading…
Cancel
Save