diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-09 19:41:01 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-12 13:01:28 +0200 |
commit | efaae10304a43035e5727eaab6875a4c26e53579 (patch) | |
tree | aba13339554e4888f08664cb874b2430364478fd /include/osmocom/netif/rtp.h | |
parent | c6dceb8cf777ff61ffb2945dbce8dd70d3de8e3b (diff) |
rtp: add new parameter to osmo_rtp_get_payload to obtain payload length
Diffstat (limited to 'include/osmocom/netif/rtp.h')
-rw-r--r-- | include/osmocom/netif/rtp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/netif/rtp.h b/include/osmocom/netif/rtp.h index 9766e8f..4b290c6 100644 --- a/include/osmocom/netif/rtp.h +++ b/include/osmocom/netif/rtp.h @@ -58,7 +58,7 @@ int osmo_rtp_handle_tx_set_ssrc(struct osmo_rtp_handle *h, uint32_t ssrc); int osmo_rtp_handle_tx_set_timestamp(struct osmo_rtp_handle *h, uint32_t timestamp); struct rtp_hdr *osmo_rtp_get_hdr(struct msgb *msg); -void *osmo_rtp_get_payload(struct rtp_hdr *rtph, struct msgb *msg); +void *osmo_rtp_get_payload(struct rtp_hdr *rtph, struct msgb *msg, uint32_t *plen); struct msgb *osmo_rtp_build(struct osmo_rtp_handle *h, uint8_t payload_type, uint32_t payload_len, const void *data, uint32_t duration); |