Browse Source

hnm4: change width/height to int to fix hypothetical integer overflows

CC: libav-stable@libav.org
Bug-Id: CID 1135770 / CID 1135771
tags/n2.5
Michael Niedermayer Vittorio Giovara 11 years ago
parent
commit
57ed5a64fe
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/hnm4video.c

+ 2
- 2
libavcodec/hnm4video.c View File

@@ -37,8 +37,8 @@


typedef struct Hnm4VideoContext { typedef struct Hnm4VideoContext {
uint8_t version; uint8_t version;
uint16_t width;
uint16_t height;
int width;
int height;
uint8_t *current; uint8_t *current;
uint8_t *previous; uint8_t *previous;
uint8_t *buffer1; uint8_t *buffer1;


Loading…
Cancel
Save