From 57e462a04fe8aec74bb8f625bdfa5d7d2b3e3d46 Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 21 Dec 2002 22:16:49 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8518 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') 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 < -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' -- cgit v1.2.3