diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-20 22:02:20 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-20 22:02:20 +0000 |
commit | 9d0264511ac7b86683cb2e4bc5743a1d0ba3dcba (patch) | |
tree | d805908c062beb68669b8aeb331c504e10d6a646 /codecs/codec_g722.c | |
parent | 524e369bd56f4594e6c13729e073bdd4b004f0a2 (diff) |
Use the correct buffer for g722tolin16_sample. This shouldn't have caused any
problems, but Qwell noticed the typo here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110339 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_g722.c')
-rw-r--r-- | codecs/codec_g722.c | 6 |
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; |