[svn-commits] twilson: branch 10 r348845 - in /branches/10: ./ include/asterisk/format_pref.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Dec 22 14:17:41 CST 2011


Author: twilson
Date: Thu Dec 22 14:17:39 2011
New Revision: 348845

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=348845
Log:
Allow packetization vaules > 127

According to the RTP packetization documentation, and the maximum values
listed in AST_FORMAT_LIST, we should support values > that the signed
char array that ast_codec_pref makes available to store the value. All
places in the code treat the framing field as though it were an int
array instaead of a char array anyway, so this just fixes the type of
the array.

(closes issue ASTERISK-18876)
Review: https://reviewboard.asterisk.org/r/1639/
........

Merged revisions 348833 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/include/asterisk/format_pref.h

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/include/asterisk/format_pref.h
URL: http://svnview.digium.com/svn/asterisk/branches/10/include/asterisk/format_pref.h?view=diff&rev=348845&r1=348844&r2=348845
==============================================================================
--- branches/10/include/asterisk/format_pref.h (original)
+++ branches/10/include/asterisk/format_pref.h Thu Dec 22 14:17:39 2011
@@ -34,7 +34,7 @@
 	/*! This array represents the format id's index in the global format list. */
 	char order[AST_CODEC_PREF_SIZE];
 	/*! This array represents the format's framing size if present. */
-	char framing[AST_CODEC_PREF_SIZE];
+	int framing[AST_CODEC_PREF_SIZE];
 };
 
 /*! \page AudioCodecPref Audio Codec Preferences




More information about the svn-commits mailing list