Browse Source

4xm: fix signed overflow

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.9
Mans Rullgard 13 years ago
parent
commit
84dda40762
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/4xm.c

+ 1
- 1
libavcodec/4xm.c View File

@@ -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;



Loading…
Cancel
Save