search for: celt_mode_destroy

Displaying 3 results from an estimated 3 matches for "celt_mode_destroy".

2011 Jan 12
2
Crash when using odd frame size
Hi I noticed a crash issue when I passed the following values: celt_mode_create(96000, 258, &e); CELTMode->mdct.kfft[0] is not initialized after calling?clt_mdct_init() and when?celt_mode_destroy() is called it tries to dereference this value in kiss_fft_free(). -- Bjoern Here's the callstack: !kiss_fft_free(const kiss_fft_state * cfg=0x00000000) ?Line 650 + 0x3 bytes C!clt_mdct_clear(mdct_lookup * l=0x0111bc04) ?Line 103 + 0x10 bytes C!celt_mode_destroy(CELTMode * mode=0x0111bbd8) ?Lin...
2010 Mar 03
2
uint decode error on visual studio...
...ar),encodedfile)!=1) { printf("ERROR: failed writing bytes to %s\n",encodedfilename); return -1; } else { printf("writing offset: %d, size %d\n",offset,bytes_per_packet); offset+=bytes_per_packet; } } } fclose(inputfile); fclose(encodedfile); celt_encoder_destroy(encoder); celt_mode_destroy(mode); CELTMode* mode2=celt_mode_create(gSampleRate,gFrameSize,&error); if(mode2==NULL || error!=CELT_OK) { printf("ERROR: celt_mode_create 2 %s\n",celt_strerror(error)); return -1; } encodedfile=fopen(encodedfilename,"rb"); if(!encodedfile) { printf("ERROR openin...
2010 Apr 07
1
Small memory leak in CELT
Hi Jean-Marc, I hate to nitpick, but perhaps "logN" should be freed somewhere in celt_mode_destroy. Cheers, John Ridges