Makes the CELT init() functions behave just like the Opus ones.
This commit is contained in:
parent
58686e6fe1
commit
875f8dbd56
4 changed files with 41 additions and 84 deletions
|
@ -109,7 +109,7 @@ int opus_decoder_init(OpusDecoder *st, int Fs, int channels)
|
|||
}
|
||||
|
||||
/* Initialize CELT decoder */
|
||||
celt_decoder_init(celt_dec, Fs, channels, &ret);
|
||||
ret = celt_decoder_init(celt_dec, Fs, channels);
|
||||
if (ret != CELT_OK)
|
||||
goto failure;
|
||||
celt_decoder_ctl(celt_dec, CELT_SET_SIGNALLING(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue