summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index ef4602dfeb..d99b7585fb 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -210,7 +210,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
static int rtp_read(URLContext *h, uint8_t *buf, int size)
{
RTPContext *s = h->priv_data;
- struct sockaddr_in from;
+ struct sockaddr_storage from;
socklen_t from_len;
int len, fd_max, n;
fd_set rfds;