Fixes resampling in CELT-only mode

This commit is contained in:
Jean-Marc Valin 2011-01-31 13:42:57 -05:00
parent 341a884995
commit 01b15eb259
2 changed files with 2 additions and 2 deletions

2
celt

@ -1 +1 @@
Subproject commit 00a98f5debf8ccd3ec64732f0c2592bb5cf42a2c Subproject commit 713d7a4ce99abd7db50ee3b0af0ba8316a353ca3

View file

@ -69,7 +69,7 @@ OpusDecoder *opus_decoder_create(int Fs, int channels)
} }
/* Initialize CELT decoder */ /* Initialize CELT decoder */
st->celt_dec = celt_decoder_init(st->celt_dec, 48000, channels, NULL); st->celt_dec = celt_decoder_init(st->celt_dec, Fs, channels, NULL);
return st; return st;