amr: add osmo_amr_get_payload

This commit is contained in:
Pablo Neira Ayuso 2012-07-09 19:40:28 +02:00
parent 93b16cb871
commit c6dceb8cf7
1 changed files with 5 additions and 0 deletions

View File

@ -62,4 +62,9 @@ struct amr_hdr {
#endif
};
static inline void *osmo_amr_get_payload(struct amr_hdr *amrh)
{
return (uint8_t *)amrh + sizeof(struct amr_hdr);
}
#endif