diff options
author | Stanislav Brabec <sbrabec@suse.cz> | 2007-04-12 10:59:52 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-12 10:59:52 +0000 |
commit | 91024272cb397568517545387ee3e506e2631fe8 (patch) | |
tree | 3b801849b66c374c714d6ff5c3695a83b011346c /configure | |
parent | 0c8351b80f624964fe0bcbc5811b5b311e7902b9 (diff) | |
download | ffmpeg-91024272cb397568517545387ee3e506e2631fe8.tar.gz |
Replace hackish support for amr-nb and amr-wb. Instead of including the source
of the reference implementation it is possible to use proper libraries now.
patch by Stanislav Brabec, sbrabec suse cz, changes and bug fixes by me
Originally committed as revision 8717 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -102,7 +102,6 @@ show_help(){ echo " --enable-amr-nb enable amr-nb floating point audio codec" echo " --enable-amr-nb-fixed enable amr-nb fixed-point codec" echo " --enable-amr-wb enable amr-wb floating point audio codec" - echo " --enable-amr-if2 enable amr-wb IF2 audio codec" echo "" echo "Advanced options (experts only):" echo " --source-path=PATH path to source code [$source_path]" @@ -640,7 +639,6 @@ CMDLINE_SELECT=" $CONFIG_LIST $TARGET_LIST $THREADS_LIST - amr_if2 debug extra_warnings shared @@ -765,7 +763,6 @@ v4l2="yes" v4l="yes" # libraries -amr_if2="no" amr_nb="no" amr_nb_fixed="no" amr_wb="no" @@ -1587,11 +1584,13 @@ for thread in $THREADS_LIST; do fi done -enabled_any amr_nb amr_nb_fixed amr_wb amr_if2 && enable amr +enabled_any amr_nb amr_nb_fixed amr_wb && enable amr enabled_all amr_nb amr_nb_fixed && die "Only one of amr_nb and amr_nb_fixed may be enabled." # these are off by default, so fail if requested and not available +enabled amr_nb && require libamrnb amrnb/interf_dec.h Speech_Decode_Frame_init -lamrnb -lm +enabled amr_wb && require libamrwb amrwb/dec_if.h D_IF_init -lamrwb -lm enabled liba52 && require liba52 a52dec/a52.h a52_init -la52 enabled libdts && require libdts dts.h dts_init -ldts -lm enabled libgsm && require libgsm gsm.h gsm_create -lgsm @@ -1868,7 +1867,6 @@ echo "zlib enabled $zlib" echo "AMR-NB float support $amr_nb" echo "AMR-NB fixed support $amr_nb_fixed" echo "AMR-WB float support $amr_wb" -echo "AMR-WB IF2 support $amr_if2" if disabled gpl; then echo "License: LGPL" else @@ -2006,10 +2004,6 @@ echo "SRC_PATH=\"$source_path\"" >> config.mak echo "SRC_PATH_BARE=$source_path" >> config.mak echo "BUILD_ROOT=\"$PWD\"" >> config.mak -if enabled amr_if2; then - echo "AMR_CFLAGS=-DIF2=1" >> config.mak -fi - # Apparently it's not possible to portably echo a backslash. if enabled asmalign_pot; then printf '#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\\n\\t"\n' >> $TMPH @@ -2054,8 +2048,6 @@ if enabled source_path_used; then libavcodec/mlib \ libavcodec/ppc \ libavcodec/amr \ - libavcodec/amr_float \ - libavcodec/amrwb_float \ libpostproc \ libavutil \ libswscale \ |