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
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user