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:
parent
16158da960
commit
57ed5a64fe
@ -37,8 +37,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…
x
Reference in New Issue
Block a user