You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
jpeg2000dec: Support 4 tile parts
Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -54,7 +54,7 @@ typedef struct Jpeg2000Tile {
|
|||||||
uint8_t properties[4];
|
uint8_t properties[4];
|
||||||
Jpeg2000CodingStyle codsty[4];
|
Jpeg2000CodingStyle codsty[4];
|
||||||
Jpeg2000QuantStyle qntsty[4];
|
Jpeg2000QuantStyle qntsty[4];
|
||||||
Jpeg2000TilePart tile_part[3];
|
Jpeg2000TilePart tile_part[4];
|
||||||
uint16_t tp_idx; // Tile-part index
|
uint16_t tp_idx; // Tile-part index
|
||||||
} Jpeg2000Tile;
|
} Jpeg2000Tile;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user