diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-09 20:38:01 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-10-09 23:13:35 +0100 |
commit | 84dda407628e298f33d610e9e04a8b2945d24665 (patch) | |
tree | 539053d1c7db8b95ff414a8a4a0c0b99b9ff2848 | |
parent | ba3f07d0611d9a6c10eaa90b3c058ecdffe76676 (diff) | |
download | ffmpeg-84dda407628e298f33d610e9e04a8b2945d24665.tar.gz |
4xm: fix signed overflow
Signed-off-by: Mans Rullgard <mans@mansr.com>
-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 92157893dd..847ebce2b6 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -277,7 +277,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; |