summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hoene <christian.hoene@symonics.com>2016-05-19 16:20:10 +0200
committerChristian Hoene <christian.hoene@symonics.com>2016-05-19 16:20:10 +0200
commit433a2349b5487251aa6e5190476a457e90f9dbe2 (patch)
treebdf05d9dc47e1293cf65627ae6ac47c7ea855f59
parente61a1c9de63518c897ef82b518739339637ff60f (diff)
ccheck warnings fixed
-rw-r--r--modules/mpa/encode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/mpa/encode.c b/modules/mpa/encode.c
index ad22af7..21a34c0 100644
--- a/modules/mpa/encode.c
+++ b/modules/mpa/encode.c
@@ -159,8 +159,8 @@ int mpa_encode_frm(struct auenc_state *aes, uint8_t *buf, size_t *len,
#endif
}
else {
- n = twolame_encode_buffer_interleaved(aes->enc,
- sampv, (int)(sampc/2),
+ n = twolame_encode_buffer_interleaved(aes->enc,
+ sampv, (int)(sampc/2),
buf+4, (int)(*len)-4);
#ifdef DEBUG
debug("MPA enc %d %d %d %d\n",sampc,
@@ -180,7 +180,8 @@ int mpa_encode_frm(struct auenc_state *aes, uint8_t *buf, size_t *len,
*len = 0;
#ifdef DEBUG
- debug("MPA enc done %d %d %d %d %p\n",sampc,aes->channels,*len,n,aes->enc);
+ debug("MPA enc done %d %d %d %d %p\n",sampc,aes->channels,
+ *len,n,aes->enc);
#endif
aes->timestamp += ((MPA_FRAMESIZE*MPA_RTPRATE)<<4) / aes->samplerate;