Merged revisions 110339 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r110339 | russell | 2008-03-20 17:02:20 -0500 (Thu, 20 Mar 2008) | 3 lines

Use the correct buffer for g722tolin16_sample.  This shouldn't have caused any
problems, but Qwell noticed the typo here.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Russell Bryant 18 years ago
parent 573e35bba1
commit 2adbae37a8

@ -151,10 +151,10 @@ static struct ast_frame *g722tolin16_sample(void)
static struct ast_frame f = { static struct ast_frame f = {
.frametype = AST_FRAME_VOICE, .frametype = AST_FRAME_VOICE,
.subclass = AST_FORMAT_G722, .subclass = AST_FORMAT_G722,
.datalen = sizeof(slin_g722_ex), .datalen = sizeof(g722_slin_ex),
.samples = sizeof(slin_g722_ex) * 2, .samples = sizeof(g722_slin_ex) * 2,
.src = __PRETTY_FUNCTION__, .src = __PRETTY_FUNCTION__,
.data = slin_g722_ex, .data = g722_slin_ex,
}; };
return &f; return &f;

Loading…
Cancel
Save