aboutsummaryrefslogtreecommitdiffstats
path: root/src/amr.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-14amr: use AMR_FT_MAX instead of hardcoded numberPablo Neira Ayuso1-1/+1
Use AMR_FT_MAX instead of 9. This patch is a cleanup.
2013-05-24osmux: further sanity checkings for AMR FTPablo Neira Ayuso1-0/+19
According to RFC3267, AMR FT upper 9 should be discarded. This patch adds extra validation to make sure that input RTP traffic encapsulating AMR payload and OSMUX amr_ft field are OK with regards to that restriction.
2013-05-24amr: add AMR FT SID definitionPablo Neira Ayuso1-0/+1
According to RFC3267, AMR FT 8 is reserved to SID and its size is 8 bytes.
2013-02-12osmux: use ft instead of the cmrPablo Neira Ayuso1-11/+11
The cmr is the requested codec for the other peer, the ft actually contains the current codec mode. cmr may contain 15 which means "don't care".
2012-07-13src: add function to obtain bytes depending on AMR frame codePablo Neira Ayuso1-0/+42