[SCM] libav/experimental: Skip the MMX/SSE and memalign() check when running on OS X/Darwin, *alloc provides necessary alignment on this platform. patch by Mino Taoyama and Nigel Pearson

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:49:22 UTC 2013


The following commit has been merged in the experimental branch:
commit 8b3a43cf54b4a6b81adcbac0f1c93fd2fea1afd0
Author: Diego Biurrun <diego at biurrun.de>
Date:   Mon Jul 24 09:45:13 2006 +0000

    Skip the MMX/SSE and memalign() check when running on OS X/Darwin, *alloc
    provides necessary alignment on this platform.
    patch by Mino Taoyama and Nigel Pearson
    
    Originally committed as revision 5821 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index ad8b8b0..d3528d8 100755
--- a/configure
+++ b/configure
@@ -1241,7 +1241,8 @@ if check_header malloc.h; then
     check_func memalign || _memalign="no"
 fi
 
-if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
+if test "$_memalign" = "no" -a "$mmx" = "yes" -a \
+        "$memalignhack" != "yes" -a "$darwin" != "yes" ; then
     die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
 fi
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list