summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-21 22:16:49 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-21 22:16:49 +0000
commit57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46 (patch)
tree614cc4b47c838b09d91f9b75b6219438450b7f24 /configure
parentab560e0258c587f44ee05745e9ec49197ab5469d (diff)
downloadmpv-57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46.tar.bz2
mpv-57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46.tar.xz
Presets are an easy way, to use hard to access lame options and to give
you optimum quality at average bitrate. This patch adds presets to mencoder for libmp3lame >= 3.92. More info in the sourcecode & at http://www.mp3dev.org/mp3/doc/html/presets.html patch by eviv bulgroz <ebulgroz@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8518 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index de371f7e0e..449df6da92 100755
--- a/configure
+++ b/configure
@@ -4127,12 +4127,12 @@ if test "$_mencoder" != no ; then
_mp3lame=no
cat > $TMPC <<EOF
#include <lame/lame.h>
-int main(void) { (void) lame_init(); return 0; }
+int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; }
EOF
# Note: libmp3lame usually depends on vorbis
cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes
if test "$_mp3lame" = yes ; then
- _def_mp3lame='#define HAVE_MP3LAME 1'
+ _def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
_ld_mp3lame="-lmp3lame $_ld_vorbis"
else
_def_mp3lame='#undef HAVE_MP3LAME'