summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-02-22 13:34:36 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-02-22 13:34:36 +0000
commitb5cccea088d6b9a2c24bafd9ba4d8289076a3084 (patch)
treee3abaab388108f803b13346a38c97473985ac771 /libavformat/udp.c
parent5400e0923ab989a1bf377f1aa48c0f1ed6c3ac91 (diff)
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/udp.c')
-rw-r--r--libavformat/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 46edd0f902..bbf8ca2ec6 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -330,7 +330,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
}
#ifndef CONFIG_IPV6
- udp_fd = socket(PF_INET, SOCK_DGRAM, 0);
+ udp_fd = socket(AF_INET, SOCK_DGRAM, 0);
if (udp_fd < 0)
goto fail;