[FFmpeg-cvslog] r21490 - trunk/libavformat/tcp.c
rbultje
subversion
Wed Jan 27 23:31:14 CET 2010
Author: rbultje
Date: Wed Jan 27 23:31:13 2010
New Revision: 21490
Log:
Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is).
Modified:
trunk/libavformat/tcp.c
Modified: trunk/libavformat/tcp.c
==============================================================================
--- trunk/libavformat/tcp.c Wed Jan 27 23:22:01 2010 (r21489)
+++ trunk/libavformat/tcp.c Wed Jan 27 23:31:13 2010 (r21490)
@@ -53,7 +53,7 @@ static int tcp_open(URLContext *h, const
return AVERROR(EINVAL);
memset(&hints, 0, sizeof(hints));
- hints.ai_family = PF_UNSPEC;
+ hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
snprintf(portstr, sizeof(portstr), "%d", port);
if (getaddrinfo(hostname, portstr, &hints, &ai))
More information about the ffmpeg-cvslog
mailing list