# HG changeset patch # User diego # Date 1209055304 0 # Node ID 5aa11f9ff6258e7818a666691d561f3228f229ef # Parent dc333dff8376c27c845206173c54246677a22a39 Move libfaad2 fixed-point CFLAGS setting to configure. diff -r dc333dff8376 -r 5aa11f9ff625 configure --- a/configure Thu Apr 24 15:32:44 2008 +0000 +++ b/configure Thu Apr 24 16:41:44 2008 +0000 @@ -6180,7 +6180,12 @@ _def_faad_internal="#define USE_FAAD_INTERNAL 1" _faad=yes _res_comment="internal floating-point" - test "$_faad_fixed" = yes && _res_comment="internal fixed-point" + if test "$_faad_fixed" = yes ; then + # The FIXED_POINT implementation of FAAD2 improves performance + # on some platforms, especially for SBR files. + CFLAGS="$CFLAGS -DFIXED_POINT" + _res_comment="internal fixed-point" + fi elif test "$_faad_external" = yes ; then _faad=yes _ld_extra="$_ld_extra -lfaad" @@ -7805,7 +7810,6 @@ LIBVORBIS = $_vorbis LIBTHEORA = $_theora FAAD_INTERNAL = $_faad_internal -FAAD_FIXED = $_faad_fixed LIBSMBCLIENT = $_smbsupport XMMS_PLUGINS = $_xmms MACOSX_FINDER_SUPPORT = $_macosx_finder_support diff -r dc333dff8376 -r 5aa11f9ff625 libfaad2/Makefile --- a/libfaad2/Makefile Thu Apr 24 15:32:44 2008 +0000 +++ b/libfaad2/Makefile Thu Apr 24 16:41:44 2008 +0000 @@ -43,8 +43,4 @@ CFLAGS = -D_GNU_SOURCE -# The FIXED_POINT implementation of FAAD2 improves performance -# on some platforms, especially for SBR files. -CFLAGS-$(FAAD_FIXED) += -DFIXED_POINT - include ../mpcommon.mak