summaryrefslogtreecommitdiffstats
path: root/libmpdemux/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/rtp.c')
-rw-r--r--libmpdemux/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/rtp.c b/libmpdemux/rtp.c
index 5747f9ab27..4309175e97 100644
--- a/libmpdemux/rtp.c
+++ b/libmpdemux/rtp.c
@@ -189,7 +189,7 @@ static int rtp_get_next(int fd, char *buffer, int length)
// Read next rtp packet using cache
-static int read_rtp_from_server(int fd, char *buffer, int length) {
+int read_rtp_from_server(int fd, char *buffer, int length) {
// Following test is ASSERT (i.e. uneuseful if code is correct)
if(buffer==NULL || length<STREAM_BUFFER_SIZE) {
mp_msg(MSGT_NETWORK, MSGL_ERR, "RTP buffer invalid; no data return from network\n");