Commit 5a754f92 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '41bcc3d1'

* commit '41bcc3d1':
  jpeg2000: Split codeblock decoding from the main tile decoding
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 5de28d34 41bcc3d1
......@@ -1650,7 +1650,9 @@ static void tile_codeblocks(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile)
Jpeg2000Prec *prec = band->prec + precno;
/* Loop on codeblocks */
for (cblkno = 0; cblkno < prec->nb_codeblocks_width * prec->nb_codeblocks_height; cblkno++) {
for (cblkno = 0;
cblkno < prec->nb_codeblocks_width * prec->nb_codeblocks_height;
cblkno++) {
int x, y;
Jpeg2000Cblk *cblk = prec->cblk + cblkno;
decode_cblk(s, codsty, &t1, cblk,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment