minor performance improvement

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-09-08 21:33:32 +00:00
parent 160cea6139
commit c63fe750bb
4 changed files with 22 additions and 18 deletions

View File

@@ -218,9 +218,6 @@ static struct ast_frame *lintolpc10_frameout(struct ast_trans_pvt *pvt)
/* Use one of the two left over bits to record if this is a 22 or 23 ms frame...
important for IAX use */
tmp->longer = 1 - tmp->longer;
#if 0 /* what the heck was this for? */
((char *)(tmp->f.data))[consumed - 1] |= tmp->longer;
#endif
}
/* Move the data at the end of the buffer to the front */
if (pvt->samples)