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

CC: libav-stable@libav.org
Bug-Id: CID 1135770 / CID 1135771
This commit is contained in:
Michael Niedermayer 2014-11-12 11:13:08 +01:00 committed by Vittorio Giovara
parent 16158da960
commit 57ed5a64fe

View File

@ -37,8 +37,8 @@
typedef struct Hnm4VideoContext {
uint8_t version;
uint16_t width;
uint16_t height;
int width;
int height;
uint8_t *current;
uint8_t *previous;
uint8_t *buffer1;