Browse Source

png_parser: fix size of chunk_lenght

Fixes the comparison against constant value 0x7fffffff.

CC: libav-stable@libav.org
Bug-Id: CID 1198260
tags/n2.5
Vittorio Giovara 11 years ago
parent
commit
60b0551334
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/png_parser.c

+ 1
- 1
libavcodec/png_parser.c 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;



Loading…
Cancel
Save