aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-20 22:02:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-20 22:02:46 +0000
commit32b50e2536745ac6e755acd4fbcc7d9bf816307a (patch)
tree4419f0b3477c4fa0467dac53b0a9a627845bceaf /codecs
parent9ea6214fee01d0fc2412cf8fa048fc647e2a740a (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@110340 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-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;