diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-03 20:03:01 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-03 20:03:01 +0200 |
commit | f52b3c8b11dd30317f7084b075716d4336b0169f (patch) | |
tree | 613a1e8fe8fe1369912d0666c136178c97cb8d44 /src/rtp.c | |
parent | f04b5f66f39e8f50eb6792c1b17ad1cbf30672a6 (diff) |
rtp: remove unused rtp_handle parameter from osmo_rtp_parse
And also adjust example files to use the new function.
Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
Diffstat (limited to 'src/rtp.c')
-rw-r--r-- | src/rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ int osmo_rtp_handle_tx_set_timestamp(struct osmo_rtp_handle *h, uint32_t timesta /* decode and pull RTP header out and return payload_type. The msg->data points to data payload after this is called. This function returns the RTP payload type on success. */ -int osmo_rtp_parse(struct osmo_rtp_handle *h, struct msgb *msg) +int osmo_rtp_parse(struct msgb *msg) { struct rtp_hdr *rtph = (struct rtp_hdr *)msg->data; struct rtp_x_hdr *rtpxh; |