diff --git a/libavcodec/hnm4video.c b/libavcodec/hnm4video.c index 4220202e15..700504d87c 100644 --- a/libavcodec/hnm4video.c +++ b/libavcodec/hnm4video.c @@ -37,8 +37,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;