[MPlayer-users] Re: amrnb and amrwb?

John Brown johnbrown105 at hotmail.com
Sat Apr 14 19:47:17 CEST 2007


John Brown <johnbrown105 <at> hotmail.com> writes:


> Anyway, it seems that in the latest svn, the amr.c file has changed...
>
> However, the configure script still looks for the AMR codecs in amr_float and
> amrwb_float. So you can:
> 
> a) Edit amr.c so that uses amr_float and amrwb_float, and name the directories
> as amr_floatr...
[cut]
> 
> I just tried to compile, but it failed for another reason.
> 

vidix was causing a problem so I had to --disable-vidix-internal and
--disable-vidix-external.

I tried editing amr.c, but I got a compile error about block_size undeclared. I
copied the definition of a static block_size[] and it compiled, but then I got
link errors when it tried to link mplayer.exe:

libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x16): undefined reference to `E_IF_
exit'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x120): undefined reference to `E_IF
_encode'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x1b8): undefined reference to `D_IF
_decode'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x218): undefined reference to `D_IF
_exit'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x238): undefined reference to `D_IF
_init'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x2ca): undefined reference to `Enco
der_Interface_exit'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x329): undefined reference to `Enco
der_Interface_init'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x548): undefined reference to `Deco
der_Interface_Decode'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x59a): undefined reference to `Deco
der_Interface_exit'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x696): undefined reference to `E_IF
_init'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x74f): undefined reference to `Deco
der_Interface_init'
libavcodec/libavcodec.a(amr.o):amr.c:(.text+0x951): undefined reference to `Enco
der_Interface_Encode'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1

I do not know how to fix this. The easiest thing to do would be to go back to a
previous revision of libavcodec, before the change to amr.c. I just reverted to
April 11, and it works.










More information about the MPlayer-users mailing list