Mercurial > libavformat.hg
diff rtpproto.c @ 6489:7406dd71c060 libavformat
rtpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfrom
author | mstorsjo |
---|---|
date | Mon, 27 Sep 2010 16:10:23 +0000 |
parents | 179ddd49895f |
children |
line wrap: on
line diff
--- a/rtpproto.c Mon Sep 27 12:27:26 2010 +0000 +++ b/rtpproto.c Mon Sep 27 16:10:23 2010 +0000 @@ -210,7 +210,7 @@ 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;