Commit 84dda407 authored by Mans Rullgard's avatar Mans Rullgard

4xm: fix signed overflow

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent ba3f07d0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment