diff udp.c @ 1810:d85795da84ab libavformat

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
author alex
date Thu, 22 Feb 2007 13:34:36 +0000
parents eb16c64144ee
children eeea52739ff3
line wrap: on
line diff
--- a/udp.c	Thu Feb 22 13:23:38 2007 +0000
+++ b/udp.c	Thu Feb 22 13:34:36 2007 +0000
@@ -330,7 +330,7 @@
     }
 
 #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;