mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Merged revisions 59076 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59076 | file | 2007-03-20 16:42:46 -0400 (Tue, 20 Mar 2007) | 2 lines Copy len variable as well, should fix remaining IAX2 DTMF issues. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -960,6 +960,7 @@ void iax_frame_wrap(struct iax_frame *fr, struct ast_frame *f)
|
||||
fr->af.delivery.tv_sec = 0;
|
||||
fr->af.delivery.tv_usec = 0;
|
||||
fr->af.data = fr->afdata;
|
||||
fr->af.len = f->len;
|
||||
if (fr->af.datalen) {
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
/* We need to byte-swap slinear samples from network byte order */
|
||||
|
Reference in New Issue
Block a user