mirror of https://git.ffmpeg.org/ffmpeg.git
png_parser: fix size of chunk_lenght
Fixes the comparison against constant value 0x7fffffff. CC: libav-stable@libav.org Bug-Id: CID 1198260
This commit is contained in:
parent
443502aed8
commit
60b0551334
|
@ -36,7 +36,7 @@ typedef struct PNGParseContext {
|
|||
ParseContext pc;
|
||||
|
||||
int chunk_pos; ///< position inside current chunk
|
||||
int chunk_length; ///< length of the current chunk
|
||||
uint32_t chunk_length; ///< length of the current chunk
|
||||
int remaining_size; ///< remaining size of the current chunk
|
||||
} PNGParseContext;
|
||||
|
||||
|
|
Loading…
Reference in New Issue