mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-12 13:37:37 +00: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:
parent
a28f4fd1ea
commit
c51654fbc0
@ -54,7 +54,7 @@ typedef struct Jpeg2000Tile {
|
||||
uint8_t properties[4];
|
||||
Jpeg2000CodingStyle codsty[4];
|
||||
Jpeg2000QuantStyle qntsty[4];
|
||||
Jpeg2000TilePart tile_part[3];
|
||||
Jpeg2000TilePart tile_part[4];
|
||||
uint16_t tp_idx; // Tile-part index
|
||||
} Jpeg2000Tile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user