shithub: opus

Download patch

ref: 01b15eb25967b9459665ffc7285bc256d0e7af32
parent: 341a8849959125c8ba5e72f493a9967971d2ebc6
author: Jean-Marc Valin <[email protected]>
date: Mon Jan 31 08:42:57 EST 2011

Fixes resampling in CELT-only mode

--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -69,7 +69,7 @@
     }
 
 	/* 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;