1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/hnm4video: change width/height to int

Fixes hypothetical integer overflows
Related to CID1135770 & CID1135771

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-12-10 22:48:41 +01:00
parent 3af9d8269e
commit e23b18321f

View File

@ -36,8 +36,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;