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:
Vittorio Giovara 2014-11-09 08:48:35 +01:00
parent 443502aed8
commit 60b0551334
1 changed files with 1 additions and 1 deletions

View File

@ -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;