aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-06-01 14:35:55 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-06-01 14:35:55 +0000
commit1eb2212eae7b52ab093381d32f56c4f31d1ccb0c (patch)
tree0bdf3ad189f49a24d1f6ef32a3717572faa8b022 /configure
parent8155233413540c63e53a620ff5734fb4b0635611 (diff)
downloadffmpeg-1eb2212eae7b52ab093381d32f56c4f31d1ccb0c.tar.gz
mpegaudio decoder is in high precision mode by default (low precision is only interesting for slow/old CPUs)
Originally committed as revision 635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index b25c599528..4e38da5940 100755
--- a/configure
+++ b/configure
@@ -51,6 +51,7 @@ lshared="no"
extralibs="-lm"
simpleidct="yes"
bigendian="no"
+mpegaudio_hp="yes"
# OS specific
targetos=`uname -s`
@@ -130,6 +131,8 @@ for opt do
;;
--enable-shared) lshared="yes"
;;
+ --disable-mpegaudio-hp) mpegaudio_hp="no"
+ ;;
esac
done
@@ -219,6 +222,8 @@ echo " --disable-v4l disable video4linux grabbing [default=no]"
echo " --disable-network disable network support [default=no]"
echo " --disable-simple_idct disable simple IDCT routines [default=no]"
echo " --enable-gprof enable profiling with gprof [$gprof]"
+echo " --disable-mpegaudio-hp faster (but less accurate)"
+echo " mpegaudio decoding [default=no]"
echo ""
echo "NOTE: The object files are build at the place where configure is launched"
exit 1
@@ -300,6 +305,11 @@ if test "$a52" = "yes" ; then
fi
fi
+# mpeg audio high precision mode
+if test "$mpegaudio_hp" = "yes" ; then
+ echo "#define CONFIG_MPEGAUDIO_HP 1" >> $TMPH
+fi
+
if test "$v4l" = "yes" ; then
echo "#define CONFIG_VIDEO4LINUX 1" >> $TMPH
echo "CONFIG_VIDEO4LINUX=yes" >> config.mak