mirror of https://git.ffmpeg.org/ffmpeg.git
jpeg2000: Split codeblock decoding from the main tile decoding
That loop is completely stand-alone.
This commit is contained in:
parent
6536da7371
commit
41bcc3d152
|
@ -1091,7 +1091,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,
|
||||
|
|
Loading…
Reference in New Issue