mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
set CONFIG_ENCODERS/CONFIG_DECODERS only if any encoders/decoders are enabled
Originally committed as revision 5629 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
98d417cbcd
commit
6eefb6fd5b
4
configure
vendored
4
configure
vendored
@ -1732,12 +1732,16 @@ fi
|
||||
echo "EXTRALIBS=$extralibs" >> config.mak
|
||||
|
||||
# If you do not want to use encoders, disable them.
|
||||
if echo "$CODEC_LIST" | grep -q encoder; then
|
||||
echo "#define CONFIG_ENCODERS 1" >> $TMPH
|
||||
echo "CONFIG_ENCODERS=yes" >> config.mak
|
||||
fi
|
||||
|
||||
# If you do not want to use decoders, disable them.
|
||||
if echo "$CODEC_LIST" | grep -q decoder; then
|
||||
echo "#define CONFIG_DECODERS 1" >> $TMPH
|
||||
echo "CONFIG_DECODERS=yes" >> config.mak
|
||||
fi
|
||||
|
||||
# muxers
|
||||
if test "$muxers" = "yes" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user