From 84dda407628e298f33d610e9e04a8b2945d24665 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 9 Oct 2011 20:38:01 +0100 Subject: [PATCH] 4xm: fix signed overflow Signed-off-by: Mans Rullgard --- libavcodec/4xm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 9215789..847ebce 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; -- 2.7.4