summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 9edd20f04c..731467f012 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -175,7 +175,8 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
{
RTPContext *s = h->priv_data;
struct sockaddr_in from;
- int from_len, len, fd_max, n;
+ socklen_t from_len;
+ int len, fd_max, n;
fd_set rfds;
#if 0
for(;;) {