diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-09 20:38:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-04 01:02:17 +0100 |
commit | 190807a56c88231d26c9f66f0dc19cb32db3afb4 (patch) | |
tree | 677af3c224fb170197cc1926ca4b4f6068ac70c9 | |
parent | 33029d7353b2d005357ff7ef4d6968a9f70acb69 (diff) | |
download | ffmpeg-190807a56c88231d26c9f66f0dc19cb32db3afb4.tar.gz |
4xm: fix signed overflow
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 84dda407628e298f33d610e9e04a8b2945d24665)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/4xm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 7344f4cd1f..3f8061f942 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -279,7 +279,7 @@ static void init_mv(FourXContext *f){ } #endif -static inline void mcdc(uint16_t *dst, uint16_t *src, int log2w, int h, int stride, int scale, int dc){ +static inline void mcdc(uint16_t *dst, uint16_t *src, int log2w, int h, int stride, int scale, unsigned dc){ int i; dc*= 0x10001; |