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:
parent
3af9d8269e
commit
e23b18321f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user