diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-12-30 15:16:53 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-12-30 15:16:53 +0000 |
commit | f593b273fcc31e21565e7177c13c40a1ceef86a4 (patch) | |
tree | 8805f1d1baffc2f0b4b5360887ba443e80817f5f | |
parent | 13705b69ebe9e375fdb52469760a0fbb5f593cc1 (diff) | |
download | ffmpeg-f593b273fcc31e21565e7177c13c40a1ceef86a4.tar.gz |
Replace buggy --disable-codec/--enable-codec with non-buggy
--disable-decoder/--enable-decoder and --disable-encoder/--enable-encoder.
Originally committed as revision 4790 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -79,8 +79,10 @@ echo " --disable-ffplay disable ffplay build" echo " --enable-small optimize for size instead of speed" echo " --enable-memalign-hack emulate memalign, interferes with memory debuggers" echo " --disable-strip disable stripping of executables and shared libraries" -echo " --enable-codec=CODEC enables CODEC" -echo " --disable-codec=CODEC disables CODEC" +echo " --disable-encoder=NAME disables encoder NAME" +echo " --enable-encoder=NAME enables encoder NAME" +echo " --disable-decoder=NAME disables decoder NAME" +echo " --enable-decoder=NAME enables decoder NAME" echo " --disable-encoders disables all encoders" echo " --disable-decoders disables all decoders" echo " --disable-muxers disables all muxers" @@ -568,9 +570,13 @@ for opt do ;; --disable-strip) dostrip="no" ;; - --enable-codec=*) CODEC_LIST="$CODEC_LIST ${opt#--enable-codec=}" + --enable-encoder=*) CODEC_LIST="$CODEC_LIST ${opt#--enable-encoder=}_encoder" ;; - --disable-codec=*) CODEC_LIST="`echo $CODEC_LIST | sed -e \"s#${opt#--disable-codec=}##\"`" + --enable-decoder=*) CODEC_LIST="$CODEC_LIST ${opt#--enable-decoder=}_decoder" + ;; + --disable-encoder=*) CODEC_LIST="`echo $CODEC_LIST | sed -e \"s#${opt#--disable-encoder=}_encoder##\"`" + ;; + --disable-decoder=*) CODEC_LIST="`echo $CODEC_LIST | sed -e \"s#${opt#--disable-decoder=}_decoder##\"`" ;; --disable-encoders) CODEC_LIST="`echo $CODEC_LIST | sed 's/[-_a-zA-Z0-9]*encoder//g'`" ;; |