Commit bb9892d1 authored by mru's avatar mru

set CONFIG_ENCODERS/CONFIG_DECODERS only if any encoders/decoders are enabled


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5629 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9ba87c46
......@@ -1732,12 +1732,16 @@ fi
echo "EXTRALIBS=$extralibs" >> config.mak
# If you do not want to use encoders, disable them.
echo "#define CONFIG_ENCODERS 1" >> $TMPH
echo "CONFIG_ENCODERS=yes" >> config.mak
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.
echo "#define CONFIG_DECODERS 1" >> $TMPH
echo "CONFIG_DECODERS=yes" >> config.mak
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment