Browse Source

avcodec/jpeg2000dec: Increase tile part limit to 256

This is the maximum that the syntax of jpeg2000 is capable to store

Fixes Ticket4639

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
5ba9ec824a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/jpeg2000dec.c

+ 1
- 1
libavcodec/jpeg2000dec.c View File

@@ -60,7 +60,7 @@ typedef struct Jpeg2000Tile {
uint8_t properties[4];
Jpeg2000CodingStyle codsty[4];
Jpeg2000QuantStyle qntsty[4];
Jpeg2000TilePart tile_part[32];
Jpeg2000TilePart tile_part[256];
uint16_t tp_idx; // Tile-part index
} Jpeg2000Tile;



Loading…
Cancel
Save