search for: celt_encoder_init

Displaying 2 results from an estimated 2 matches for "celt_encoder_init".

2011 Jan 29
2
Memory leak when specifying invalid channels count
Hi I minor issue I noticed when I passed an invalid 'channels' parameter to celt_encoder_create() is that celt_encoder_init() doesn't free the CELTEncoder ('st' parameter) when 'if (channels < 0 || channels > 2)' evaluates to true. Seems celt_encoder_init() should do like this instead: CELTEncoder *celt_encoder_init(CELTEncoder *st, const CELTMode *mode, int channels, int *error) { if (cha...
2017 Jun 27
0
[Windows]Issue with opus 1.2 : lnk2001
...on (Release). I integrated opus.lib and the new include files in my own solution, but when I compile, I found 28 link errors (lnk 2001): - silk_Encode - ec_enc_init - celt_inner_prod_sse - opus_select_arch - silk_InitEncoder - ec_enc_shrink - silk_log2lin - ec_enc_bit_logp - celt_encoder_get_size - celt_encoder_init - silk_lin2log - opus_custom_encoder_ctl - ec_enc_uint - silk_Get_Encoder_Size - celt_encode_with_ec - ec_enc_done - opus_fft_c - silk_Decode - ec_dec_init - ec_dec_uint - celt_decode_with_ec - silk_Get_Decoder_Size - ec_dec_bit_logp - silk_InitDecoder - opus_custom_decoder_ctl - celt_decoder_get_s...