Commit 60b05513 authored by Vittorio Giovara's avatar Vittorio Giovara

png_parser: fix size of chunk_lenght

Fixes the comparison against constant value 0x7fffffff.

CC: libav-stable@libav.org
Bug-Id: CID 1198260
parent 443502ae
...@@ -36,7 +36,7 @@ typedef struct PNGParseContext { ...@@ -36,7 +36,7 @@ typedef struct PNGParseContext {
ParseContext pc; ParseContext pc;
int chunk_pos; ///< position inside current chunk 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 int remaining_size; ///< remaining size of the current chunk
} PNGParseContext; } PNGParseContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment