projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba3f07d
)
4xm: fix signed overflow
author
Mans Rullgard
<mans@mansr.com>
Sun, 9 Oct 2011 19:38:01 +0000
(20:38 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Sun, 9 Oct 2011 22:13:35 +0000
(23:13 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/4xm.c
patch
|
blob
|
history
diff --git
a/libavcodec/4xm.c
b/libavcodec/4xm.c
index
9215789
..
847ebce
100644
(file)
--- 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;