| Index: source/patched-ffmpeg-mt/libavformat/rtpproto.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavformat/rtpproto.c (revision 65184)
|
| +++ source/patched-ffmpeg-mt/libavformat/rtpproto.c (working copy)
|
| @@ -328,18 +328,6 @@
|
| }
|
|
|
| /**
|
| - * 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
|
| * @param h media file context
|
| * @return the local port number
|
| @@ -351,22 +339,6 @@
|
| return udp_get_local_port(s->rtcp_hd);
|
| }
|
|
|
| -#if (LIBAVFORMAT_VERSION_MAJOR <= 52)
|
| -/**
|
| - * Return the rtp and rtcp file handles for select() usage to wait for
|
| - * several RTP streams at the same time.
|
| - * @param h media file context
|
| - */
|
| -
|
| -void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd)
|
| -{
|
| - RTPContext *s = h->priv_data;
|
| -
|
| - *prtp_fd = s->rtp_fd;
|
| - *prtcp_fd = s->rtcp_fd;
|
| -}
|
| -#endif
|
| -
|
| static int rtp_get_file_handle(URLContext *h)
|
| {
|
| RTPContext *s = h->priv_data;
|
|
|