diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-10 22:48:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-10 23:50:08 +0100 |
commit | e23b18321fb5cffb6e05d0b0ef00de9733f560da (patch) | |
tree | 0c0604cf8141ae1b2fa8349fb218aa91ca244f61 /libavcodec | |
parent | 3af9d8269ea2878fb7960ab5ed52f4a75c73e6ec (diff) | |
download | ffmpeg-e23b18321fb5cffb6e05d0b0ef00de9733f560da.tar.gz |
avcodec/hnm4video: change width/height to int
Fixes hypothetical integer overflows
Related to CID1135770 & CID1135771
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/hnm4video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hnm4video.c b/libavcodec/hnm4video.c index 177972ba64..bb827dfac3 100644 --- a/libavcodec/hnm4video.c +++ b/libavcodec/hnm4video.c @@ -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; |