[FFmpeg-cvslog] swscale/x86/swscale: Fix warning about loosing significant bits in cast

Michael Niedermayer git at videolan.org
Sun May 10 15:21:48 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 10 15:09:04 2015 +0200| [54e64eaf68e08aa69a441b783dd51304e64ca479] | committer: Michael Niedermayer

swscale/x86/swscale: Fix warning about loosing significant bits in cast

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54e64eaf68e08aa69a441b783dd51304e64ca479
---

 libswscale/x86/swscale.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c
index a06d1f2..d611b76 100644
--- a/libswscale/x86/swscale.c
+++ b/libswscale/x86/swscale.c
@@ -201,7 +201,7 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
                            const int16_t **src, uint8_t *dest, int dstW,
                            const uint8_t *dither, int offset)
 {
-    if(((int)dest) & 15){
+    if(((uintptr_t)dest) & 15){
         yuv2yuvX_mmxext(filter, filterSize, src, dest, dstW, dither, offset);
         return;
     }



More information about the ffmpeg-cvslog mailing list