diff options
author | Martin Storsjö <martin@martin.st> | 2010-10-08 18:07:40 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-10-08 18:07:40 +0000 |
commit | d1f676b8d455f095f2bd9b803894e0e89d072603 (patch) | |
tree | 3e98ff8cae9e346674828a9d565cdffa39b057e6 /libavformat/sapenc.c | |
parent | fcc7f40449af7f339c1b91f1622b48a88add29b0 (diff) | |
download | ffmpeg-d1f676b8d455f095f2bd9b803894e0e89d072603.tar.gz |
Fix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC
Originally committed as revision 25416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sapenc.c')
-rw-r--r-- | libavformat/sapenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c index 3b7ff2d793..7c56ddbe39 100644 --- a/libavformat/sapenc.c +++ b/libavformat/sapenc.c @@ -106,7 +106,7 @@ static int sap_write_header(AVFormatContext *s) 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); |