summaryrefslogtreecommitdiff
path: root/codecs/codec_alaw.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_alaw.c')
-rw-r--r--codecs/codec_alaw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/codecs/codec_alaw.c b/codecs/codec_alaw.c
index 0a4d4b8f6..b0ef9ed5f 100644
--- a/codecs/codec_alaw.c
+++ b/codecs/codec_alaw.c
@@ -19,7 +19,7 @@
/*! \file
*
* \brief codec_alaw.c - translate between signed linear and alaw
- *
+ *
* \ingroup codecs
*/
@@ -52,7 +52,7 @@ static int alawtolin_framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
pvt->samples += i;
pvt->datalen += i * 2; /* 2 bytes/sample */
-
+
while (i--)
*dst++ = AST_ALAW(*src++);
@@ -69,7 +69,7 @@ static int lintoalaw_framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
pvt->samples += i;
pvt->datalen += i; /* 1 byte/sample */
- while (i--)
+ while (i--)
*dst++ = AST_LIN2A(*src++);
return 0;