diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-29 20:50:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-29 20:50:43 +0100 |
commit | c77eb4ee9025a01ce6b8276eed8e32f21fc74ccc (patch) | |
tree | 3800ae3623b12530a6646cbd0c1ff675479ee98b /libswscale/swscale.c | |
parent | 3cd137bfeac84b6147a8708f55d5888cf3a0f80a (diff) | |
download | ffmpeg-c77eb4ee9025a01ce6b8276eed8e32f21fc74ccc.tar.gz |
sws: fix warning: cast from pointer to integer of different size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 442d88bf01..2c9e3da86e 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -416,7 +416,8 @@ static int swScale(SwsContext *c, const uint8_t *src[], } } - if ((int)dst[0]%16 || (int)dst[1]%16 || (int)dst[2]%16 || (int)src[0]%16 || (int)src[1]%16 || (int)src[2]%16 + if ( (uintptr_t)dst[0]%16 || (uintptr_t)dst[1]%16 || (uintptr_t)dst[2]%16 + || (uintptr_t)src[0]%16 || (uintptr_t)src[1]%16 || (uintptr_t)src[2]%16 || dstStride[0]%16 || dstStride[1]%16 || dstStride[2]%16 || dstStride[3]%16 || srcStride[0]%16 || srcStride[1]%16 || srcStride[2]%16 || srcStride[3]%16 ) { |