summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/sb_celp.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-10 01:30:52 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-10 01:30:52 +0000
commitd3ba403f607b744becbd437a4f193c6bda49b6da (patch)
treed795e464dd0b5614b63cef01815035dd0fa80481 /apps/codecs/libspeex/sb_celp.c
parentf32b7748dddf0146e66af2120ac2cb6bcd363ae8 (diff)
downloadrockbox-d3ba403f607b744becbd437a4f193c6bda49b6da.tar.gz
rockbox-d3ba403f607b744becbd437a4f193c6bda49b6da.zip
Forgot these.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/sb_celp.c')
-rw-r--r--apps/codecs/libspeex/sb_celp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/codecs/libspeex/sb_celp.c b/apps/codecs/libspeex/sb_celp.c
index cd6da32476..1b648b8c52 100644
--- a/apps/codecs/libspeex/sb_celp.c
+++ b/apps/codecs/libspeex/sb_celp.c
@@ -214,7 +214,6 @@ void *sb_encoder_init(const SpeexMode *m)
214 st->nbSubframes = mode->frameSize/mode->subframeSize; 214 st->nbSubframes = mode->frameSize/mode->subframeSize;
215 st->windowSize = st->frame_size+st->subframeSize; 215 st->windowSize = st->frame_size+st->subframeSize;
216 st->lpcSize=mode->lpcSize; 216 st->lpcSize=mode->lpcSize;
217 st->bufSize=mode->bufSize;
218 217
219 st->encode_submode = 1; 218 st->encode_submode = 1;
220 st->submodes=mode->submodes; 219 st->submodes=mode->submodes;
@@ -751,7 +750,7 @@ int sb_encode(void *state, void *vin, SpeexBits *bits)
751 750
752 return 1; 751 return 1;
753} 752}
754#endif 753#endif /* SPEEX_DISABLE_ENCODER */
755 754
756 755
757 756
@@ -1363,7 +1362,7 @@ int sb_encoder_ctl(void *state, int request, void *ptr)
1363 } 1362 }
1364 return 0; 1363 return 0;
1365} 1364}
1366#endif 1365#endif /* SPEEX_DISABLE_ENCODER */
1367 1366
1368int sb_decoder_ctl(void *state, int request, void *ptr) 1367int sb_decoder_ctl(void *state, int request, void *ptr)
1369{ 1368{