diff options
author | joca@rixmail.se <joca@rixmail.se> | 2003-05-14 11:40:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-05-14 11:40:16 +0000 |
commit | 891f64b33972bb35f64d0b7ae0928004ff278f5b (patch) | |
tree | b60d7b79b58c97259c991b10e6fec7b43eac34c7 /configure | |
parent | 17fb5fd34e96ce472019d4f2b8d798bbd885a24b (diff) | |
download | ffmpeg-891f64b33972bb35f64d0b7ae0928004ff278f5b.tar.gz |
AMR-NB audio support patch by (<joca at rixmail dot se>)
Originally committed as revision 1876 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -91,6 +91,7 @@ SLIBPREF="lib" SLIBSUF=".so" risky="yes" small="no" +amr_nb="no" # OS specific targetos=`uname -s` @@ -319,6 +320,8 @@ for opt do ;; --enable-small) small="yes" ;; + --enable-amr_nb) amr_nb="yes" + ;; esac done @@ -607,6 +610,7 @@ echo " --enable-a52bin open liba52.so.0 at runtime [default=no]" echo " --disable-pp disable GPL'ed post processing support [default=no]" echo " --enable-shared-pp use libpostproc.so [default=no]" echo " --enable-shared build shared libraries [default=no]" +echo " --enable-amr_nb enable amr_nb audio codec" echo "" echo "Advanced options (experts only):" echo " --source-path=PATH path of source code [$source_path]" @@ -672,6 +676,7 @@ if test "$vhook" = "yes" ; then echo "Imlib2 support $imlib2" echo "freetype support $freetype2" fi +echo "AMR-NB support" $amr_nb echo "Creating config.mak and config.h" @@ -943,6 +948,17 @@ if test "$source_path_used" = "yes" ; then fi echo "SRC_PATH=$source_path" >> config.mak +if test "$amr_nb" = "yes" ; then + echo "#define AMR_NB 1" >> $TMPH + echo "AMR_NB=yes" >> config.mak + echo + echo "AMR NB NOTICE! Make sure you have downloaded TS26.073 from " + echo "http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26073-510.zip" + echo "and extracted src to libavcodec/amr" + echo "You must also add -DMMS_IO to CFLAGS in libavcodec/amr/makefile." + echo +fi + diff $TMPH config.h >/dev/null 2>&1 if test $? -ne 0 ; then mv -f $TMPH config.h |