summaryrefslogtreecommitdiff
path: root/codecs/codec_gsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_gsm.c')
-rw-r--r--codecs/codec_gsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/codecs/codec_gsm.c b/codecs/codec_gsm.c
index b3c21912c..cac77760b 100644
--- a/codecs/codec_gsm.c
+++ b/codecs/codec_gsm.c
@@ -66,7 +66,7 @@ struct gsm_translator_pvt { /* both gsm2lin and lin2gsm */
static int gsm_new(struct ast_trans_pvt *pvt)
{
struct gsm_translator_pvt *tmp = pvt->pvt;
-
+
return (tmp->gsm = gsm_create()) ? 0 : -1;
}
@@ -97,7 +97,7 @@ static int gsmtolin_framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
src = f->data.ptr + x;
}
/* XXX maybe we don't need to check */
- if (pvt->samples + len > BUFFER_SAMPLES) {
+ if (pvt->samples + len > BUFFER_SAMPLES) {
ast_log(LOG_WARNING, "Out of buffer space\n");
return -1;
}