1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +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 { typedef struct Hnm4VideoContext {
uint8_t version; uint8_t version;
uint16_t width; int width;
uint16_t height; int height;
uint8_t *current; uint8_t *current;
uint8_t *previous; uint8_t *previous;
uint8_t *buffer1; uint8_t *buffer1;