Skip to content
Snippets Groups Projects
Commit b9bf2444 authored by Terry Wilson's avatar Terry Wilson
Browse files

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
........

Merged revisions 348845 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent c4e48de2
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ struct ast_codec_pref { ...@@ -34,7 +34,7 @@ struct ast_codec_pref {
/*! This array represents the format id's index in the global format list. */ /*! This array represents the format id's index in the global format list. */
char order[AST_CODEC_PREF_SIZE]; char order[AST_CODEC_PREF_SIZE];
/*! This array represents the format's framing size if present. */ /*! 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 /*! \page AudioCodecPref Audio Codec Preferences
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment