[Asterisk-video] AMR codec work for x86_64 system has error

Ethan Liu lxitgto at 163.com
Wed Dec 24 01:02:18 CST 2008


Hi,

I already fixed this issue.Just exchange "long" type to "int" type for
"typedef.h",but I still worry have another *compatibility issue.
*
Ethan Liu
> Hello all,
>
> I compile amr code(26104-700_ANSI_C_source_code.zip) for asterisk by
> x86_64 system is no problem.Now,I load codec_amr.so have "Segmentation
> fault" error when I configure the AMR codec to use octed aligned mode
> add this to codecs.conf [amr] octet-aligned=1.
>
> I tried the same code by x86 system is fine.So I followed debug info and
> add ast_log sentence for codec_amr.c.I find out the
> "Decoder_Interface_Decode" Function(this function in interf_dec.c )
> produced "Segmentation fault" error.
>
> I don't know that if 26104-700_ANSI_C_source_code.zip can't use for
> x86_64 system.
>
> Any comments will be much appreciated.
>
> Ethan Liu
>
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20081224/d041071d/attachment.htm 


More information about the asterisk-video mailing list