]> git.sesse.net Git - ffmpeg/commitdiff
FreeBSD malloc aligns on 16 byte boundaries, so no need to use memalignhack.
authorDennis Melentyev <dennis.melentyev@gmail.com>
Wed, 16 Aug 2006 11:34:46 +0000 (11:34 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 16 Aug 2006 11:34:46 +0000 (11:34 +0000)
patch by Dennis Melentyev, dennis ##dot## melentyev ##at ## gmail ##dot## com

Originally committed as revision 6005 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 48c5572e918bb1c2859a27e12ea84b2474b2bc4a..a7baf55da95022d73ac306c232f03be5ad4c6c6f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1236,7 +1236,8 @@ if check_header malloc.h; then
 fi
 
 if test "$_memalign" = "no" -a "$mmx" = "yes" -a \
-        "$memalignhack" != "yes" -a "$targetos" != "Darwin" ; then
+        "$memalignhack" != "yes" -a "$targetos" != "Darwin" -a \
+        "$targetos" != "FreeBSD" ; then
     die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
 fi