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 ebaca74c5..873a59e3e 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
*/
@@ -50,7 +50,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++);
@@ -67,7 +67,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;