projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3af9d82
)
avcodec/hnm4video: change width/height to int
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 10 Dec 2013 21:48:41 +0000
(22:48 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 10 Dec 2013 22:50:08 +0000
(23:50 +0100)
Fixes hypothetical integer overflows
Related to CID1135770 & CID1135771
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hnm4video.c
patch
|
blob
|
history
diff --git
a/libavcodec/hnm4video.c
b/libavcodec/hnm4video.c
index 177972ba64d0057242682b8e119c2d009f670504..bb827dfac3114f4f30726c617ab2b0b6a80f4ee9 100644
(file)
--- a/
libavcodec/hnm4video.c
+++ b/
libavcodec/hnm4video.c
@@
-36,8
+36,8
@@
typedef struct Hnm4VideoContext {
uint8_t version;
-
uint16_
t width;
-
uint16_
t height;
+
in
t width;
+
in
t height;
uint8_t *current;
uint8_t *previous;
uint8_t *buffer1;