[FFmpeg-cvslog] r25224 - trunk/libavformat/rtpproto.c
mstorsjo
subversion
Mon Sep 27 18:10:23 CEST 2010
Author: mstorsjo
Date: Mon Sep 27 18:10:23 2010
New Revision: 25224
Log:
rtpproto: Use a sockaddr_storage instead of a sockaddr_in with recvfrom
Modified:
trunk/libavformat/rtpproto.c
Modified: trunk/libavformat/rtpproto.c
==============================================================================
--- trunk/libavformat/rtpproto.c Mon Sep 27 17:16:16 2010 (r25223)
+++ trunk/libavformat/rtpproto.c Mon Sep 27 18:10:23 2010 (r25224)
@@ -210,7 +210,7 @@ static int rtp_open(URLContext *h, const
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;
More information about the ffmpeg-cvslog
mailing list