mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
libavformat: remove the ff_rtp_get_local_rtcp_port function
Only used by ffserver Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
9396ed0f29
commit
d41de90d44
3 changed files with 0 additions and 8 deletions
|
|
@ -5,7 +5,6 @@ LIBAVFORMAT_MAJOR {
|
|||
ff_socket_nonblock;
|
||||
ff_rtsp_parse_line;
|
||||
ff_rtp_get_local_rtp_port;
|
||||
ff_rtp_get_local_rtcp_port;
|
||||
ffio_open_dyn_packet_buf;
|
||||
ffio_set_buf_size;
|
||||
ffurl_close;
|
||||
|
|
|
|||
|
|
@ -636,12 +636,6 @@ int ff_rtp_get_local_rtp_port(URLContext *h)
|
|||
* @return the local port number
|
||||
*/
|
||||
|
||||
int ff_rtp_get_local_rtcp_port(URLContext *h)
|
||||
{
|
||||
RTPContext *s = h->priv_data;
|
||||
return ff_udp_get_local_port(s->rtcp_hd);
|
||||
}
|
||||
|
||||
static int rtp_get_file_handle(URLContext *h)
|
||||
{
|
||||
RTPContext *s = h->priv_data;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,5 @@
|
|||
int ff_rtp_set_remote_url(URLContext *h, const char *uri);
|
||||
|
||||
int ff_rtp_get_local_rtp_port(URLContext *h);
|
||||
int ff_rtp_get_local_rtcp_port(URLContext *h);
|
||||
|
||||
#endif /* AVFORMAT_RTPPROTO_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue