summaryrefslogtreecommitdiffstats
path: root/libfaad2
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-17 16:01:25 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-17 16:01:25 +0000
commit4bbdac6e142cb70b4efbb7304c50884d085c9761 (patch)
tree018e03ee040802046ab0c61efc22ddf90670a90c /libfaad2
parent9443ea8b9f0acf1be723e40e1e88031c30b7f5d7 (diff)
downloadmpv-4bbdac6e142cb70b4efbb7304c50884d085c9761.tar.bz2
mpv-4bbdac6e142cb70b4efbb7304c50884d085c9761.tar.xz
Add configure switch to enable fixed-pointed mode of internal libfaad2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20287 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libfaad2')
-rw-r--r--libfaad2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/libfaad2/Makefile b/libfaad2/Makefile
index ca911d054d..2e9e267c05 100644
--- a/libfaad2/Makefile
+++ b/libfaad2/Makefile
@@ -46,9 +46,11 @@ OBJS = $(SRCS:.c=.o)
CFLAGS = -I. $(OPTFLAGS) -D_GNU_SOURCE
-# Uncomment this to use the FIXED_POINT implementation of FAAD2.
-# This should improve performance, especially for SBR files.
-#CFLAGS = -I. $(OPTFLAGS) -DFIXED_POINT
+# The FIXED_POINT implementation of FAAD2 improves performance
+# on some platforms, especially for SBR files.
+ifeq ($(FAAD_FIXED),yes)
+CFLAGS += -DFIXED_POINT
+endif
.SUFFIXES: .c .o