aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-20 04:38:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-20 14:26:34 +0200
commit5ba9ec824aa6d63fcec8f3c61e720ec8ee1b22ee (patch)
tree36a1b533b77685a3e3aeb666ec2cb94a9247e71b
parent6fb96afdd66c514259e17fff5049b4219adf58b2 (diff)
downloadffmpeg-5ba9ec824aa6d63fcec8f3c61e720ec8ee1b22ee.tar.gz
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>
-rw-r--r--libavcodec/jpeg2000dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 4d82340037..88f68251ac 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[32];
+ Jpeg2000TilePart tile_part[256];
uint16_t tp_idx; // Tile-part index
} Jpeg2000Tile;