Add remainder of rtp fixes, iax2 patch (bug #3961)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-05-14 23:57:44 +00:00
parent 060b71e52f
commit c936fc827c
4 changed files with 202 additions and 162 deletions

View File

@@ -399,6 +399,9 @@ extern int ast_codec_pref_string(struct ast_codec_pref *pref, char *buf, size_t
/* Shift a codec preference list up or down 65 bytes so that it becomes an ASCII string */
extern void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right);
/* Returns the number of samples contained in the frame */
extern int ast_codec_get_samples(struct ast_frame *f);
/* Gets duration in ms of interpolation frame for a format */
static inline int ast_codec_interp_len(int format)
{