diff options
author | Torsten Martinsen <tma@gatehouse.dk> | 2005-03-05 11:44:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-05 11:44:25 +0000 |
commit | 2a515c08f25dc4c78c09b4600358574ef34b4ea5 (patch) | |
tree | e595ab4a303128caf9db6ef2eecfbff871f9fdf2 | |
parent | 27ef18d12f135399e89ff3e94263016870f64a24 (diff) | |
download | ffmpeg-2a515c08f25dc4c78c09b4600358574ef34b4ea5.tar.gz |
Support for AMR Interface Format 2 patch by ("Torsten Martinsen" <tma gatehouse dk>)
Originally committed as revision 4007 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | libavcodec/Makefile | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -194,6 +194,7 @@ EXESUF="" amr_nb="no" amr_wb="no" amr_nb_fixed="no" +amr_if2="no" sunmlib="no" pthreads="no" gpl="no" @@ -467,6 +468,8 @@ for opt do ;; --enable-amr_wb) amr_wb="yes" ;; + --enable-amr_if2) amr_if2="yes" + ;; --enable-sunmlib) sunmlib="yes" ;; --enable-pthreads) pthreads="yes" @@ -1105,6 +1108,7 @@ echo "pthreads support" $pthreads 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 echo "network support $network" if test "$network" = "yes" ; then echo "IPv6 support $ipv6" @@ -1541,6 +1545,10 @@ else echo fi +if test "$amr_if2" = "yes" ; then + echo "AMR_CFLAGS=-DIF2=1" >> config.mak +fi + fi diff $TMPH config.h >/dev/null 2>&1 diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 63207693b5..0ee56e6b0b 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -7,7 +7,7 @@ include ../config.mak VPATH=$(SRC_PATH)/libavcodec # NOTE: -I.. is needed to include config.h -CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE +CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE $(AMR_CFLAGS) OBJS= bitstream.o utils.o mem.o allcodecs.o \ mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ |