1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

libavformat/network: fix function duplication

Since the function used to be exposed for ffserver's sake, it was renamed
to the same name as a system's aton function which caused a collision.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
Rostislav Pehlivanov 2018-01-06 18:59:46 +00:00
parent 7c6125cbcc
commit c693af1951

View File

@ -60,11 +60,6 @@ static int inet_aton(const char *str, struct in_addr *add)
return 1;
}
#else
static int inet_aton(const char *str, struct in_addr *add)
{
return inet_aton(str, add);
}
#endif /* !HAVE_INET_ATON */
#if !HAVE_GETADDRINFO