summaryrefslogtreecommitdiffstats
path: root/libmpdemux/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/rtp.c')
-rw-r--r--libmpdemux/rtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/rtp.c b/libmpdemux/rtp.c
index f59ec3033e..9500810da3 100644
--- a/libmpdemux/rtp.c
+++ b/libmpdemux/rtp.c
@@ -187,7 +187,7 @@ static int rtp_get_next(int fd, char *buffer, int length)
// Read next rtp packet using cache
-int read_rtp_from_server(int fd, char *buffer, int length) {
+static 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");
@@ -343,7 +343,7 @@ static int rtp_streaming_start( stream_t *stream, int raw_udp ) {
}
-int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData) {
+static int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData) {
static char buf[1600];
unsigned int intP;
char* charP = (char*) &intP;