[svn-commits] russell: trunk r110339 - /trunk/codecs/codec_g722.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 20 17:02:20 CDT 2008


Author: russell
Date: Thu Mar 20 17:02:20 2008
New Revision: 110339

URL: http://svn.digium.com/view/asterisk?view=rev&rev=110339
Log:
Use the correct buffer for g722tolin16_sample.  This shouldn't have caused any
problems, but Qwell noticed the typo here.

Modified:
    trunk/codecs/codec_g722.c

Modified: trunk/codecs/codec_g722.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_g722.c?view=diff&rev=110339&r1=110338&r2=110339
==============================================================================
--- trunk/codecs/codec_g722.c (original)
+++ trunk/codecs/codec_g722.c Thu Mar 20 17:02:20 2008
@@ -151,10 +151,10 @@
 	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;




More information about the svn-commits mailing list