diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-02-22 13:34:36 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-02-22 13:34:36 +0000 |
commit | b5cccea088d6b9a2c24bafd9ba4d8289076a3084 (patch) | |
tree | e3abaab388108f803b13346a38c97473985ac771 /libavformat/tcp.c | |
parent | 5400e0923ab989a1bf377f1aa48c0f1ed6c3ac91 (diff) | |
download | ffmpeg-streaming-b5cccea088d6b9a2c24bafd9ba4d8289076a3084.zip ffmpeg-streaming-b5cccea088d6b9a2c24bafd9ba4d8289076a3084.tar.gz |
change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards
Originally committed as revision 8073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index fa9e135..a5539be 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -73,7 +73,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) if (resolve_host(&dest_addr.sin_addr, hostname) < 0) goto fail; - fd = socket(PF_INET, SOCK_STREAM, 0); + fd = socket(AF_INET, SOCK_STREAM, 0); if (fd < 0) goto fail; fcntl(fd, F_SETFL, O_NONBLOCK); |