[Ffmpeg-devel] [PATCH] Win32 compile + amr_wb support

Diego Biurrun diego
Sat Sep 24 19:43:12 CEST 2005


On Thu, Sep 22, 2005 at 05:33:09PM +0200, Michel Bardiaux wrote:
> Federico Rossi wrote:
> >I'd like to compile ffmpeg with amr-wb support in Windows environment.
> >I used MinGW ans MSYS.
> >In the console I lunched 
> >
> >./configure --enable-amr_wb --enable-memalign-hack --enable-shared
> >
> >So I followed the "configure" instructions:
> >
> >"Make sure you have downloaded TS26.204
> >V5.1.0 from
> >http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
> >and extracted the source to libavcodec/amrwb_float"
> >
> >I obtained the following error messages:
> >
> >amr.o(.text+0x1c): In function `amr_nb_decode_init':
> >C:/MinGW/MSYS/1.0/home/Freddy/ffmpeg/libavcodec/amr.c:342: undefined 
> >reference to `Decoder_Interface_init'
> >[...]
> >collect2: ld returned 1 exit status
> >make[1]: *** [avcodec.dll] Error 1
> >make[1]: Leaving directory `/home/Freddy/ffmpeg/libavcodec'
> >make: *** [lib] Error 2
> >
> >Can you help me please?
> >
> Empirically:
> 
> amr_wb alone: what you show. Seems to be due to bad #ifs in amr.c. Patch 
> attached.

Tested, works, applied.

Diego





More information about the ffmpeg-devel mailing list