compilation issue with recent ffmpeg
| Newsgroups | gmane.comp.video.mplayer.devel |
|---|---|
| Message-ID | <20180108140717.GB17915@freedom> |
Hi,
While compiling today mplayer snapshot with a today git ffmpeg, I get:
--------------------------------------------------------------------------------
libavformat/os_support.c:49:12: error: static declaration of 'inet_aton' follows non-static declaration
static int inet_aton(const char *str, struct in_addr *add)
^~~~~~~~~
In file included from libavformat/network.h:69:0,
from libavformat/os_support.c:44:
/include/arpa/inet.h:73:12: note: previous declaration of 'inet_aton' was here
extern int inet_aton (const char *__cp, struct in_addr *__inp) __THROW;
^~~~~~~~~
libavformat/os_support.c:49:12: warning: 'inet_aton' defined but not used [-Wunused-function]
static int inet_aton(const char *str, struct in_addr *add)
^~~~~~~~~
make[1]: *** [ffbuild/common.mak:60: libavformat/os_support.o] Error 1
--------------------------------------------------------------------------------
I got this error compiling a standalone ffmpeg, but it was fixed very recently
by ffmpeg devs.
regards,
--
Sylvain
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng