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>
This commit is contained in:
parent
33029d7353
commit
190807a56c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user