Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2011/09/28 04:27:17... | ... |
@@ -701,9 +701,9 @@ static int decode_cblk(J2kDecoderContext *s, J2kCodingStyle *codsty, J2kT1Contex |
701 | 701 |
for (y = 0; y < height; y++) |
702 | 702 |
memset(t1->data[y], 0, width*sizeof(int)); |
703 | 703 |
|
704 |
- ff_mqc_initdec(&t1->mqc, cblk->data); |
|
705 | 704 |
cblk->data[cblk->length] = 0xff; |
706 | 705 |
cblk->data[cblk->length+1] = 0xff; |
706 |
+ ff_mqc_initdec(&t1->mqc, cblk->data); |
|
707 | 707 |
|
708 | 708 |
while(passno--){ |
709 | 709 |
switch(pass_t){ |