|
|
|
@@ -1146,10 +1146,10 @@ static int jpeg2000_decode_packets_po_iteration(Jpeg2000DecoderContext *s, Jpeg2 |
|
|
|
int xc = x / s->cdx[compno]; |
|
|
|
int yc = y / s->cdy[compno]; |
|
|
|
|
|
|
|
if (yc % (1 << (rlevel->log2_prec_height + reducedresno)) && y != tile->coord[1][0]) //FIXME this is a subset of the check |
|
|
|
if (yc % (1LL << (rlevel->log2_prec_height + reducedresno)) && y != tile->coord[1][0]) //FIXME this is a subset of the check |
|
|
|
continue; |
|
|
|
|
|
|
|
if (xc % (1 << (rlevel->log2_prec_width + reducedresno)) && x != tile->coord[0][0]) //FIXME this is a subset of the check |
|
|
|
if (xc % (1LL << (rlevel->log2_prec_width + reducedresno)) && x != tile->coord[0][0]) //FIXME this is a subset of the check |
|
|
|
continue; |
|
|
|
|
|
|
|
// check if a precinct exists |
|
|
|
|