[FFmpeg-cvslog] r25416 - trunk/libavformat/sapenc.c
mstorsjo
subversion
Fri Oct 8 20:07:40 CEST 2010
Author: mstorsjo
Date: Fri Oct 8 20:07:40 2010
New Revision: 25416
Log:
Fix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC
Modified:
trunk/libavformat/sapenc.c
Modified: trunk/libavformat/sapenc.c
==============================================================================
--- trunk/libavformat/sapenc.c Fri Oct 8 19:48:13 2010 (r25415)
+++ trunk/libavformat/sapenc.c Fri Oct 8 20:07:40 2010 (r25416)
@@ -106,7 +106,7 @@ static int sap_write_header(AVFormatCont
if (!announce_addr[0]) {
struct addrinfo hints, *ai = NULL;
memset(&hints, 0, sizeof(hints));
- hints.ai_family = PF_UNSPEC;
+ hints.ai_family = AF_UNSPEC;
if (getaddrinfo(host, NULL, &hints, &ai)) {
av_log(s, AV_LOG_ERROR, "Unable to resolve %s\n", host);
ret = AVERROR(EIO);
More information about the ffmpeg-cvslog
mailing list