1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-18 17:40:30 +00:00

fix lavc fail on missing lame

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11410 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
iive 2003-11-07 22:14:51 +00:00
parent 83b056b09e
commit 679d6f09b3

4
configure vendored
View File

@ -5046,9 +5046,11 @@ EOF
cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes
if test "$_mp3lame" = yes ; then
_def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
_def_cfg_mp3lame="#define CONFIG_MP3LAME `$TMPO`"
_ld_mp3lame="-lmp3lame $_ld_vorbis"
else
_def_mp3lame='#undef HAVE_MP3LAME'
_def_cfg_mp3lame='#undef CONFIG_MP3LAME'
fi
echores "$_mp3lame"
@ -5945,7 +5947,7 @@ $_def_encore
/* Indicates if libmp3lame is available
Note: for mencoder */
$_def_mp3lame
#define CONFIG_MP3LAME HAVE_MP3LAME
$_def_cfg_mp3lame
/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
$_def_mp1e