projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc7f40
)
Fix compilation on FreeBSD, use AF_UNSPEC instead of PF_UNSPEC
author
Martin Storsjö
<martin@martin.st>
Fri, 8 Oct 2010 18:07:40 +0000
(18:07 +0000)
committer
Martin Storsjö
<martin@martin.st>
Fri, 8 Oct 2010 18:07:40 +0000
(18:07 +0000)
Originally committed as revision 25416 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sapenc.c
patch
|
blob
|
history
diff --git
a/libavformat/sapenc.c
b/libavformat/sapenc.c
index 3b7ff2d7939eccdcde30ee1622e4a66500eb57bb..7c56ddbe39fed85310557510a79dfeb7a0256d1a 100644
(file)
--- 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 =
P
F_UNSPEC;
+ hints.ai_family =
A
F_UNSPEC;
if (getaddrinfo(host, NULL, &hints, &ai)) {
av_log(s, AV_LOG_ERROR, "Unable to resolve %s\n", host);
ret = AVERROR(EIO);