aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtp.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-07-03 20:03:01 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2012-07-03 20:03:01 +0200
commitf52b3c8b11dd30317f7084b075716d4336b0169f (patch)
tree613a1e8fe8fe1369912d0666c136178c97cb8d44 /src/rtp.c
parentf04b5f66f39e8f50eb6792c1b17ad1cbf30672a6 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtp.c b/src/rtp.c
index 5cab4d1..0e66502 100644
--- a/src/rtp.c
+++ b/src/rtp.c
@@ -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;