summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/sb_celp.c
diff options
context:
space:
mode:
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)
st->nbSubframes = mode->frameSize/mode->subframeSize;
st->windowSize = st->frame_size+st->subframeSize;
st->lpcSize=mode->lpcSize;
- st->bufSize=mode->bufSize;
st->encode_submode = 1;
st->submodes=mode->submodes;
@@ -751,7 +750,7 @@ int sb_encode(void *state, void *vin, SpeexBits *bits)
return 1;
}
-#endif
+#endif /* SPEEX_DISABLE_ENCODER */
@@ -1363,7 +1362,7 @@ int sb_encoder_ctl(void *state, int request, void *ptr)
}
return 0;
}
-#endif
+#endif /* SPEEX_DISABLE_ENCODER */
int sb_decoder_ctl(void *state, int request, void *ptr)
{