mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
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
This commit is contained in:
parent
13705b69eb
commit
f593b273fc
14
configure
vendored
14
configure
vendored
@ -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'`"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user