Commit 2b9204a5 authored by kabi's avatar kabi

* simple options to enable faad support (no runtime compile checking is made)

  (just like with few others...)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1860 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fe9ec3fb
...@@ -61,6 +61,8 @@ network="yes" ...@@ -61,6 +61,8 @@ network="yes"
zlib="yes" zlib="yes"
mp3lame="no" mp3lame="no"
vorbis="no" vorbis="no"
faad="no"
faadbin="no"
a52="yes" a52="yes"
a52bin="no" a52bin="no"
pp="yes" pp="yes"
...@@ -592,6 +594,8 @@ echo " --help print this message" ...@@ -592,6 +594,8 @@ echo " --help print this message"
echo " --prefix=PREFIX install in PREFIX [$prefix]" echo " --prefix=PREFIX install in PREFIX [$prefix]"
echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]" echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]"
echo " --enable-vorbis enable vorbis support via libvorbisenc [default=no]" echo " --enable-vorbis enable vorbis support via libvorbisenc [default=no]"
echo " --enable-faad enable faad support via libfaad [default=no]"
echo " --enable-faadbin build faad support with runtime linking [default=no]"
echo " --enable-win32 enable win32 cross compile" echo " --enable-win32 enable win32 cross compile"
echo " --enable-mingw32 enable mingw32 native windows compile" echo " --enable-mingw32 enable mingw32 native windows compile"
echo " --disable-a52 disable GPL'ed A52 support [default=no]" echo " --disable-a52 disable GPL'ed A52 support [default=no]"
...@@ -841,6 +845,15 @@ if test "$vorbis" = "yes" ; then ...@@ -841,6 +845,15 @@ if test "$vorbis" = "yes" ; then
echo "CONFIG_VORBIS=yes" >> config.mak echo "CONFIG_VORBIS=yes" >> config.mak
fi fi
if test "$faad" = "yes" ; then
echo "#define CONFIG_FAAD 1" >> $TMPH
echo "CONFIG_FAAD=yes" >> config.mak
fi
if test "$faadbin" = "yes" ; then
echo "#define CONFIG_FAADBIN 1" >> $TMPH
fi
if test "$win32" = "yes" ; then if test "$win32" = "yes" ; then
echo "#define CONFIG_WIN32 1" >> $TMPH echo "#define CONFIG_WIN32 1" >> $TMPH
echo "CONFIG_WIN32=yes" >> config.mak echo "CONFIG_WIN32=yes" >> config.mak
......
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