summaryrefslogtreecommitdiff
path: root/codecs/codec_g722.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-03-20 22:02:20 +0000
committerRussell Bryant <russell@russellbryant.com>2008-03-20 22:02:20 +0000
commitf31cc97197b4f6e5f1ce1cd557875f0a61937005 (patch)
treed805908c062beb68669b8aeb331c504e10d6a646 /codecs/codec_g722.c
parent2860d9f83c6ed6349aa5ff56dae98e548d4243d1 (diff)
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
Diffstat (limited to 'codecs/codec_g722.c')
-rw-r--r--codecs/codec_g722.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/codecs/codec_g722.c b/codecs/codec_g722.c
index 7dd2744c3..02f4720cd 100644
--- a/codecs/codec_g722.c
+++ b/codecs/codec_g722.c
@@ -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;