[Asterisk-code-review] translate: Fix transcoding while different in frame size. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Sat Aug 29 00:57:06 CDT 2015


Alexander Traud has uploaded a new patch set (#2).

Change subject: translate: Fix transcoding while different in frame size.
......................................................................

translate: Fix transcoding while different in frame size.

When Asterisk translates between codecs each with a different frame size (for
example between iLBC 30 and Speex-WB), too large frames were created by
ast_trans_frameout. Now, ast_trans_frameout is called with the correct frame
length, creating several frames when necessary. Affects all transcoding modules
which used ast_trans_frameout: GSM, iLBC, LPC10, and Speex.

ASTERISK-25353 #close

Change-Id: I2e229569d73191d66a4e43fef35432db24000212
---
M codecs/codec_gsm.c
M codecs/codec_ilbc.c
M codecs/codec_lpc10.c
M codecs/codec_speex.c
M main/translate.c
5 files changed, 111 insertions(+), 81 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/1154/2
-- 
To view, visit https://gerrit.asterisk.org/1154
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2e229569d73191d66a4e43fef35432db24000212
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>



More information about the asterisk-code-review mailing list