Mercurial > libavformat.hg
changeset 5595:0980c09b05c1 libavformat
Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is).
author | rbultje |
---|---|
date | Wed, 27 Jan 2010 22:31:13 +0000 |
parents | be39b68919ab |
children | 952c315e58b5 |
files | tcp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tcp.c Wed Jan 27 19:37:52 2010 +0000 +++ b/tcp.c Wed Jan 27 22:31:13 2010 +0000 @@ -53,7 +53,7 @@ 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))