Commit 57ed5a64 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Vittorio Giovara

hnm4: change width/height to int to fix hypothetical integer overflows

CC: libav-stable@libav.org
Bug-Id: CID 1135770 / CID 1135771
parent 16158da9
...@@ -37,8 +37,8 @@ ...@@ -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;
......
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