Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

G729 Crashing.

damiancoventry
Beginner
440 Views
Hi, I downloaded the speech proessing example code from the IPP page on intel.com. The example program in the zip "w_ipp-G729_p_4.0.005.zip" throws an access violation when giving any 8khz 16bit pcm audio data. However, on the assumption that it's the fault of the example program and not the IPP libray itself, I simply call the following 3 or 4 IPP functions and it crashes with an access violation:
int required_size;
apiG729Decoder_Alloc((G729Codec_Type)G729A_CODEC, &required_size);
G729Decoder_Obj* decoder_ = (G729Decoder_Obj*)ippsMalloc_8u(required_size);
apiG729Decoder_Init(decoder_, (G729Codec_Type)G729A_CODEC);
unsigned char* compressed_buffer;
// compressed_buffer is filled with data from a Cisco7960 IP phone...
short* decompressed_buffer;
// decompressed_buffer is setup...
apiG729Decode(
decoder_,
compressed_buffer,
G729A_CODEC,
decompressed_buffer);
The call to apiG729Decode() throws an access violation on line 1442 of file decg729.c, does anybody have any idea why?
0 Kudos
0 Replies
Reply