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

Lxit lxitgto at 163.com
Tue Dec 23 22:46:59 CST 2008


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






More information about the asterisk-video mailing list