Bug fixed in MQ decoder initialization (keyword comment : initbug1)
This commit is contained in:
parent
d38080aa00
commit
9fa68ca811
@ -536,7 +536,10 @@ void mqc_init_dec(unsigned char *bp, int len)
|
||||
mqc_start = bp;
|
||||
mqc_end = bp + len;
|
||||
mqc_bp = bp;
|
||||
mqc_c = *mqc_bp << 16;
|
||||
//add antonin initbug1
|
||||
if (len==0) mqc_c = 0xff << 16;
|
||||
else mqc_c = *mqc_bp << 16;
|
||||
//dda
|
||||
mqc_bytein();
|
||||
mqc_c <<= 7;
|
||||
mqc_ct -= 7;
|
||||
|
Loading…
Reference in New Issue
Block a user