]> git.ipfire.org Git - thirdparty/asterisk.git/commit
translate: Fix transcoding while different in frame size. 55/1155/7
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 28 Aug 2015 20:42:23 +0000 (22:42 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Thu, 17 Sep 2015 15:01:48 +0000 (10:01 -0500)
commitb88c54fa4bd537bde46519abb95e30a5f96673ac
tree84318723a2ab5ce06f0880b3f0cbb144f8e8e3cd
parent5c713fdf18ffa934e0cac8ddb29e4ad95a68200b
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
codecs/codec_gsm.c
codecs/codec_ilbc.c
codecs/codec_lpc10.c
codecs/codec_speex.c
main/translate.c