summaryrefslogtreecommitdiff
path: root/codecs/codec_adpcm.c
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-12-22 09:23:22 -0500
committerSean Bright <sean.bright@gmail.com>2017-12-22 09:23:22 -0500
commitfd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch)
tree42d2a87726d196f4db1c68489007520a4c597062 /codecs/codec_adpcm.c
parent9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff)
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'codecs/codec_adpcm.c')
-rw-r--r--codecs/codec_adpcm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/codecs/codec_adpcm.c b/codecs/codec_adpcm.c
index 0b2f90f39..9c202a5e8 100644
--- a/codecs/codec_adpcm.c
+++ b/codecs/codec_adpcm.c
@@ -23,7 +23,7 @@
/*! \file
*
* \brief codec_adpcm.c - translate between signed linear and Dialogic ADPCM
- *
+ *
* \ingroup codecs
*/
@@ -50,7 +50,7 @@
#include "ex_adpcm.h"
/*
- * Step size index shift table
+ * Step size index shift table
*/
static int indsft[8] = { -1, -1, -1, -1, 2, 4, 6, 8 };
@@ -167,7 +167,7 @@ static inline int adpcm(short csig, struct adpcm_state *state)
int step;
int encoded;
- /*
+ /*
* Clip csig if too large or too small
*/
csig >>= 4;
@@ -208,7 +208,7 @@ static inline int adpcm(short csig, struct adpcm_state *state)
/* feedback to state */
decode(encoded, state);
-
+
return encoded;
}
@@ -259,7 +259,7 @@ static struct ast_frame *lintoadpcm_frameout(struct ast_trans_pvt *pvt)
struct ast_frame *f;
int i;
int samples = pvt->samples; /* save original number */
-
+
if (samples < 2)
return NULL;