[SCM] libav/experimental: fail if SSE && !memalign && !memalign_hack

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:41:25 UTC 2013


The following commit has been merged in the experimental branch:
commit 8bf5d58f86e98f2df61b9ac6d0d945a1c04ece38
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Sep 10 19:39:17 2004 +0000

    fail if SSE && !memalign && !memalign_hack
    
    Originally committed as revision 3450 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 7cfa505..84cd39e 100755
--- a/configure
+++ b/configure
@@ -760,6 +760,11 @@ EOF
 $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
 fi
 
+if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
+    echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack"
+    exit 1
+fi
+
 cat > $TMPC << EOF
 #include <time.h>
 int main( void ) { localtime_r(NULL, NULL); }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list