Browse Source

avcodec/hnm4video: change width/height to int

Fixes hypothetical integer overflows
Related to CID1135770 & CID1135771

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
e23b18321f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/hnm4video.c

+ 2
- 2
libavcodec/hnm4video.c View File

@@ -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;


Loading…
Cancel
Save