Skip to content
Snippets Groups Projects
Commit 65beb9dc authored by Steve Murphy's avatar Steve Murphy
Browse files

This fix introduced via bug 8233

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ab4f6990
No related branches found
No related tags found
No related merge requests found
......@@ -5879,6 +5879,10 @@ static void add_codec_to_sdp(const struct sip_pvt *p, int codec, int sample_rate
 
if (fmt.cur_ms && (fmt.cur_ms < *min_packet_size))
*min_packet_size = fmt.cur_ms;
/* Our first codec packetization processed cannot be zero */
if ((*min_packet_size)==0 && fmt.cur_ms)
*min_packet_size = fmt.cur_ms;
}
 
/*! \brief Get Max T.38 Transmission rate from T38 capabilities */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment