avcodec/jpeg2000dec: increase tile part limit to 32
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 15 Jun 2015 20:45:25 +0000 (22:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 15 Jun 2015 21:24:49 +0000 (23:24 +0200)
Fixes Ticket4629

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dec.c

index a2862bd..d64a7b5 100644 (file)
@@ -60,7 +60,7 @@ typedef struct Jpeg2000Tile {
     uint8_t             properties[4];
     Jpeg2000CodingStyle codsty[4];
     Jpeg2000QuantStyle  qntsty[4];
-    Jpeg2000TilePart    tile_part[6];
+    Jpeg2000TilePart    tile_part[32];
     uint16_t tp_idx;                    // Tile-part index
 } Jpeg2000Tile;