Browse Source

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>
tags/n4.0
Rostislav Pehlivanov 7 years ago
parent
commit
c693af1951
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      libavformat/os_support.c

+ 0
- 5
libavformat/os_support.c View File

@@ -60,11 +60,6 @@ static int inet_aton(const char *str, struct in_addr *add)


return 1; return 1;
} }
#else
static int inet_aton(const char *str, struct in_addr *add)
{
return inet_aton(str, add);
}
#endif /* !HAVE_INET_ATON */ #endif /* !HAVE_INET_ATON */


#if !HAVE_GETADDRINFO #if !HAVE_GETADDRINFO


Loading…
Cancel
Save