1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

Initialize _def_faad* variables to disabled before setting them.

This fixes _def_faad_internal never being set when using external libfaad.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27508 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-09-01 17:37:15 +00:00
parent 9aea25b96e
commit 9395a0ab96

4
configure vendored
View File

@ -6210,6 +6210,8 @@ EOF
cc_check -lfaad $_ld_lm && _faad_external=yes
fi
_def_faad='#undef CONFIG_FAAD'
_def_faad_internal="#undef CONFIG_FAAD_INTERNAL"
if test "$_faad_internal" = yes ; then
_def_faad_internal="#define CONFIG_FAAD_INTERNAL 1"
_faad=yes
@ -6224,7 +6226,6 @@ elif test "$_faad_external" = yes ; then
_faad=yes
_ld_extra="$_ld_extra -lfaad"
else
_def_faad_internal="#undef CONFIG_FAAD_INTERNAL"
_faad=no
fi
@ -6232,7 +6233,6 @@ if test "$_faad" = yes ; then
_def_faad='#define CONFIG_FAAD 1'
_codecmodules="faad2 $_codecmodules"
else
_def_faad='#undef CONFIG_FAAD'
_nocodecmodules="faad2 $_nocodecmodules"
fi
echores "$_faad"