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