Skip to content
Snippets Groups Projects
Commit 69323242 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

rtp: expose vlc_rtp_pt_release()

parent 0247129d
No related branches found
No related tags found
1 merge request!870rtp: handle RTP map from SDP
......@@ -51,7 +51,12 @@ struct vlc_rtp_pt
};
/**
* Instantiates a payload type.
* Destroys a payload type parameter set.
*/
void vlc_rtp_pt_release(struct vlc_rtp_pt *pt);
/**
* Instantiates a payload type from a set of parameters.
*
* A given SDP media can have multiple alternative payload types, each with
* their set of parameters. The RTP session can then have multiple concurrent
......
......@@ -350,7 +350,7 @@ static struct vlc_rtp_pt *vlc_rtp_pt_create(vlc_object_t *obj,
return pt;
}
static void vlc_rtp_pt_release(struct vlc_rtp_pt *pt)
void vlc_rtp_pt_release(struct vlc_rtp_pt *pt)
{
free(pt);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment