diff options
author | Martin Storsjö <martin@martin.st> | 2010-09-27 16:10:23 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-09-27 16:10:23 +0000 |
commit | 4a94cfea02f4c3da43d2f2ed25f14ee461a1a315 (patch) | |
tree | c5aa7c29bec228330b91d23d0d4d6ed03c5aa812 /libavformat/rtpproto.c | |
parent | 6e73cef6e3b536fbccdb82bd9260440d836b3f03 (diff) | |
download | ffmpeg-4a94cfea02f4c3da43d2f2ed25f14ee461a1a315.tar.gz |
rtpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfrom
Originally committed as revision 25224 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r-- | libavformat/rtpproto.c | 2 |
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; |