Fixes resampling in CELT-only mode
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 31 Jan 2011 18:42:57 +0000 (13:42 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 31 Jan 2011 18:42:57 +0000 (13:42 -0500)
celt
src/opus_decoder.c

diff --git a/celt b/celt
index 00a98f5..713d7a4 160000 (submodule)
--- a/celt
+++ b/celt
@@ -1 +1 @@
-Subproject commit 00a98f5debf8ccd3ec64732f0c2592bb5cf42a2c
+Subproject commit 713d7a4ce99abd7db50ee3b0af0ba8316a353ca3
index 72f76a3..dfed34a 100644 (file)
@@ -69,7 +69,7 @@ OpusDecoder *opus_decoder_create(int Fs, int channels)
     }
 
        /* 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;