aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-20 16:03:12 +0000
committerGravatar uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-20 16:03:12 +0000
commit5eb46caadad3ad94a573e83c59eae4f0bdbeb218 (patch)
tree2d7b430b58568b18049792ed3e30c36952fd9b0f
parentd218fe6decb5db319dd76e3132db069a5c941069 (diff)
Disable libavcodec libvorbis encoder
MPlayer's configure does not test and set variables required by the encoder properly (never links with -lvorbisenc for example). Disable it completely to fix broken compilation in cases where it was enabled. Support for the libvorbis encoder could be a desirable feature as it can produce better quality audio than libavcodec's own encoder, but implementing that properly would require more work. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24821 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d8dc14b1aa..82d558683c 100755
--- a/configure
+++ b/configure
@@ -503,7 +503,7 @@ _libamr_wb=auto
_libavdecoders_all=`sed -n 's/^[^#]*DEC.*(.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`
_libavdecoders=` echo $_libavdecoders_all | sed -e s/LIBFAAD_DECODER// -e s/MPEG4AAC_DECODER// -e s/LIBA52_DECODER// -e s/LIBGSM_DECODER// -e s/LIBGSM_MS_DECODER// -e s/LIBVORBIS_DECODER// `
_libavencoders_all=`sed -n 's/^[^#]*ENC.*(.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`
-_libavencoders=` echo $_libavencoders_all | sed -e s/LIBGSM_ENCODER// -e s/LIBGSM_MS_ENCODER// -e s/LIBTHEORA_ENCODER// `
+_libavencoders=` echo $_libavencoders_all | sed -e s/LIBGSM_ENCODER// -e s/LIBGSM_MS_ENCODER// -e s/LIBTHEORA_ENCODER// -e s/LIBVORBIS_ENCODER// `
_libavparsers_all=`sed -n 's/^[^#]*PARSER.*(.*, *\(.*\)).*/\1_parser/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`
_libavparsers=$_libavparsers_all
_libavbsfs_all=`sed -n 's/^[^#]*BSF.*(.*, *\(.*\)).*/\1_bsf/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`