[asterisk-commits] tilghman: branch tilghman/codec_bits3 r227487 - /team/tilghman/codec_bits3/ch...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 3 16:35:10 CST 2009


Author: tilghman
Date: Tue Nov  3 16:35:06 2009
New Revision: 227487

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227487
Log:
Compress up to 63, not up to 31

Modified:
    team/tilghman/codec_bits3/channels/chan_iax2.c
    team/tilghman/codec_bits3/channels/iax2.h

Modified: team/tilghman/codec_bits3/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/codec_bits3/channels/chan_iax2.c?view=diff&rev=227487&r1=227486&r2=227487
==============================================================================
--- team/tilghman/codec_bits3/channels/chan_iax2.c (original)
+++ team/tilghman/codec_bits3/channels/chan_iax2.c Tue Nov  3 16:35:06 2009
@@ -1511,7 +1511,7 @@
 	/* XXX FIXME XXX */
 	int x;
 	int power=-1;
-	/* If it's 128 or smaller, just return it */
+	/* If it's 64 or smaller, just return it */
 	if (subclass < IAX_FLAG_SC_LOG)
 		return subclass;
 	/* Otherwise find its power */
@@ -9572,7 +9572,7 @@
 	struct iax2_peer *peer;
 	struct iax_ies ies;
 	struct iax_ie_data ied0, ied1;
-	int format;
+	format_t format;
 	int fd;
 	int exists;
 	int minivid = 0;

Modified: team/tilghman/codec_bits3/channels/iax2.h
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/codec_bits3/channels/iax2.h?view=diff&rev=227487&r1=227486&r2=227487
==============================================================================
--- team/tilghman/codec_bits3/channels/iax2.h (original)
+++ team/tilghman/codec_bits3/channels/iax2.h Tue Nov  3 16:35:06 2009
@@ -39,7 +39,7 @@
 
 #define IAX_FLAG_SC_LOG		0x80
 
-#define IAX_MAX_SHIFT		0x1F
+#define IAX_MAX_SHIFT		0x3F
 
 #define IAX_WINDOW			64
 




More information about the asterisk-commits mailing list