|
|
|
@ -1927,6 +1927,13 @@ if test "$amr_nb" = "yes" ; then |
|
|
|
|
echo "#define AMR_NB 1" >> $TMPH |
|
|
|
|
echo "AMR_NB=yes" >> config.mak |
|
|
|
|
echo |
|
|
|
|
echo "AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104" |
|
|
|
|
echo "REL-5 V5.1.0 from " |
|
|
|
|
echo "http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-5??.zip" |
|
|
|
|
echo "and extracted the source to libavcodec/amr_float" |
|
|
|
|
echo "If you try this on alpha, you may need to change Word32 to int in amr/typedef.h" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test "$amr_nb_fixed" = "yes" ; then |
|
|
|
|
echo "#define AMR_NB_FIXED 1" >> $TMPH |
|
|
|
|
echo "AMR_NB_FIXED=yes" >> config.mak |
|
|
|
@ -1937,19 +1944,12 @@ if test "$amr_nb_fixed" = "yes" ; then |
|
|
|
|
echo "and extracted src to libavcodec/amr" |
|
|
|
|
echo "You must also add -DMMS_IO and remove -pedantic-errors to/from CFLAGS in libavcodec/amr/makefile." |
|
|
|
|
echo "i.e. CFLAGS = -Wall -I. \$(CFLAGS_\$(MODE)) -D\$(VAD) -DMMS_IO" |
|
|
|
|
else |
|
|
|
|
echo "AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104" |
|
|
|
|
echo "REL-5 V5.1.0 from " |
|
|
|
|
echo "http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-5??.zip" |
|
|
|
|
echo "and extracted the source to libavcodec/amr_float" |
|
|
|
|
echo "If you try this on alpha, you may need to change Word32 to int in amr/typedef.h" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test "$amr_if2" = "yes" ; then |
|
|
|
|
echo "AMR_CFLAGS=-DIF2=1" >> config.mak |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
for codec in $CODEC_LIST ; do |
|
|
|
|
echo "#define CONFIG_`echo $codec | tr a-z A-Z` 1" >> $TMPH |
|
|
|
|