mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 21:12:12 +00:00
drop rtp_get_local_port() which is not part of public API and not used anymore
Originally committed as revision 25555 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
67f34aaa97
commit
fb660f4015
@ -45,9 +45,6 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
|
|||||||
void rtp_parse_close(RTPDemuxContext *s);
|
void rtp_parse_close(RTPDemuxContext *s);
|
||||||
int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s);
|
int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s);
|
||||||
void ff_rtp_reset_packet_queue(RTPDemuxContext *s);
|
void ff_rtp_reset_packet_queue(RTPDemuxContext *s);
|
||||||
#if (LIBAVFORMAT_VERSION_MAJOR <= 53)
|
|
||||||
int rtp_get_local_port(URLContext *h);
|
|
||||||
#endif
|
|
||||||
int rtp_get_local_rtp_port(URLContext *h);
|
int rtp_get_local_rtp_port(URLContext *h);
|
||||||
int rtp_get_local_rtcp_port(URLContext *h);
|
int rtp_get_local_rtcp_port(URLContext *h);
|
||||||
|
|
||||||
|
@ -327,18 +327,6 @@ int rtp_get_local_rtp_port(URLContext *h)
|
|||||||
return udp_get_local_port(s->rtp_hd);
|
return udp_get_local_port(s->rtp_hd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the local rtp port used by the RTP connection
|
|
||||||
* @param h media file context
|
|
||||||
* @return the local port number
|
|
||||||
*/
|
|
||||||
|
|
||||||
int rtp_get_local_port(URLContext *h)
|
|
||||||
{
|
|
||||||
RTPContext *s = h->priv_data;
|
|
||||||
return udp_get_local_port(s->rtp_hd);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the local rtcp port used by the RTP connection
|
* Return the local rtcp port used by the RTP connection
|
||||||
* @param h media file context
|
* @param h media file context
|
||||||
|
Loading…
Reference in New Issue
Block a user