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/trunk@110339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Russell Bryant 17 years ago
parent 2860d9f83c
commit f31cc97197

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

Loading…
Cancel
Save