[MPlayer-dev-eng] [PATCH] lavc mp3lame support
Jonas Jermann
jjermann at gmx.net
Wed Mar 22 12:08:49 CET 2006
On Wed, Mar 22, 2006 at 12:00:08PM +0100, Jonas Jermann wrote:
> Attached is a small patch to enable lavc mp3lame support
> (-lavcopts acodec=mp3) when mplayer's mp3lame support is enabled.
And here the attachment. *g*
Best Regards
Jonas Jermann
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1149
diff -u -r1.1149 configure
--- configure 21 Mar 2006 05:36:09 -0000 1.1149
+++ configure 22 Mar 2006 10:56:24 -0000
@@ -6513,6 +6513,7 @@
cc_check -lmp3lame $_ld_vorbis $_ld_lm && tmp_run && _mp3lame=yes
if test "$_mp3lame" = yes ; then
_def_mp3lame="#define HAVE_MP3LAME"
+ _def_lavc_mp3lame="#define CONFIG_MP3LAME 1"
_ld_mp3lame="-lmp3lame $_ld_vorbis"
cat > $TMPC << EOF
#include <lame/lame.h>
@@ -7770,6 +7771,7 @@
`echo $_libavcodecs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/#define CONFIG_/;s/$/ 1/'`
$_def_lavc_faac
$_def_lavc_xvid
+$_def_lavc_mp3lame
/* Use codec libs included in mplayer CVS / source dist: */
$_def_mp3lib
More information about the MPlayer-dev-eng
mailing list