avcodec/jpeg2000dec: increase tile_parts to 6
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jun 2015 02:50:14 +0000 (04:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jun 2015 02:50:14 +0000 (04:50 +0200)
Fixes Ticket4602

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

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