Mercurial > mplayer.hg
changeset 24793:a77d2ba096f0
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.
author | uau |
---|---|
date | Sat, 20 Oct 2007 16:03:12 +0000 |
parents | f08190357ed5 |
children | 300dd571ba64 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Oct 20 15:35:48 2007 +0000 +++ b/configure Sat Oct 20 16:03:12 2007 +0000 @@ -503,7 +503,7 @@ _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]'`