[SCM] libav/experimental: kill a warning on 64-bit machines

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:01:58 UTC 2013


The following commit has been merged in the experimental branch:
commit 119e2c0056d88d08069545879fdbf236e97682cd
Author: Måns Rullgård <mans at mansr.com>
Date:   Sat Jun 16 11:44:54 2007 +0000

    kill a warning on 64-bit machines
    
    Originally committed as revision 9331 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index cac2045..e53d4c1 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3821,7 +3821,7 @@ int ff_check_alignment(void){
     static int did_fail=0;
     DECLARE_ALIGNED_16(int, aligned);
 
-    if((int)&aligned & 15){
+    if((long)&aligned & 15){
         if(!did_fail){
 #if defined(HAVE_MMX) || defined(HAVE_ALTIVEC)
             av_log(NULL, AV_LOG_ERROR,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list