[xiph-cvs] r6468 - trunk/speex/libspeex

jm at xiph.org jm at xiph.org
Tue Mar 30 00:52:53 PST 2004



Author: jm
Date: 2004-03-30 03:52:52 -0500 (Tue, 30 Mar 2004)
New Revision: 6468

Modified:
   trunk/speex/libspeex/sb_celp.c
Log:
oops, encoder calls speex_encoder_ctl

<p>Modified: trunk/speex/libspeex/sb_celp.c
===================================================================
--- trunk/speex/libspeex/sb_celp.c	2004-03-29 01:48:16 UTC (rev 6467)
+++ trunk/speex/libspeex/sb_celp.c	2004-03-30 08:52:52 UTC (rev 6468)
@@ -260,7 +260,7 @@
    st->relative_quality=0;
 
    st->complexity=2;
-   speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate);
+   speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate);
    st->sampling_rate*=2;
 
 #ifdef ENABLE_VALGRIND

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list