From 79f20349cee065c6db1bab26cfd1ea89f6bc53ce Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 12 Apr 2007 11:12:43 +0000 Subject: [PATCH] Add complete instructions for the brave people wishing to fiddle with the reference encoder/decoder source. Originally committed as revision 8720 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/amr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/amr.c b/libavcodec/amr.c index 3ded25e..ace411c 100644 --- a/libavcodec/amr.c +++ b/libavcodec/amr.c @@ -38,11 +38,15 @@ * http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-610.zip * Extract the source into \c "ffmpeg/libavcodec/amr_float". * Enable it by passing \c "--enable-amr-nb" to \c "./configure". + * If you try this on Alpha, you may need to change \c "Word32" to + * \c "int" in \c "amr/typedef.h". * * \subsection Fixed-point * The fixed-point (TS26.073) can be downloaded from: * http://www.3gpp.org/ftp/Specs/archive/26_series/26.073/26073-600.zip - * Extract the source into \c "ffmpeg/libavcodec/amr". + * Extract the source into \c "ffmpeg/libavcodec/amr" and add \c "-DMMS_IO" to + * \c "CFLAGS" in \c "libavcodec/amr/makefile", i.e. + * \c "CFLAGS = -Wall -pedantic-errors -I. $(CFLAGS_$(MODE)) -D$(VAD) -DMMS_IO". * Enable it by passing \c "--enable-amr-nb-fixed" to \c "./configure". * * \subsection Specification -- 2.7.4