[FFmpeg-cvslog] avcodec/jpeg2000dec: increase tile part limit to 32

Michael Niedermayer git at videolan.org
Mon Jun 15 23:27:54 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 15 22:45:25 2015 +0200| [fefe04259ae903f265074ef3e8db7e0941f00307] | committer: Michael Niedermayer

avcodec/jpeg2000dec: increase tile part limit to 32

Fixes Ticket4629

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fefe04259ae903f265074ef3e8db7e0941f00307
---

 libavcodec/jpeg2000dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index a2862bd..d64a7b5 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;
 



More information about the ffmpeg-cvslog mailing list