Commit e23b1832 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hnm4video: change width/height to int

Fixes hypothetical integer overflows
Related to CID1135770 & CID1135771
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3af9d826
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment