[pjsip] amr_helper.h: Frame length of AMR-WB bitrate 14.25

Zoltan.Toth.ext at rohde-schwarz.com Zoltan.Toth.ext at rohde-schwarz.com
Mon May 26 09:33:39 EDT 2014


I found that the frame length definition for AMR-WB bitrate 12.45 is 
incorrect. This bitrate has a frame length of 285 bits, which corresponds 
to 36 bytes.
However, pjmedia_codec_amrwb_framelen[3] is set to 37. This makes the 
buffer availability check fail in pjmeda_codec_amr_pack() if the caller 
does not provide an extra byte in the payload.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140526/ffd58181/attachment-0002.html>

More information about the pjsip mailing list