From fefe04259ae903f265074ef3e8db7e0941f00307 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 15 Jun 2015 22:45:25 +0200 Subject: [PATCH] avcodec/jpeg2000dec: increase tile part limit to 32 Fixes Ticket4629 Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index a2862bd6dc..d64a7b5f0b 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -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;