[MPlayer-users] mplayer refuses to compile after libavformat r21145

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jan 11 23:46:38 CET 2010


On Mon, Jan 11, 2010 at 11:41:32PM +0100, Giorgio wrote:
> Hello,
> 
> I compile mplayer from svn very often and usually it all goes well.
> But today I noticed mplayer refused to compile. I did some regression
> testing, and found out that after r21145 of libavformat it gives the
> following error on my system (r21144 works fine):

At least I know about it, but I don't have time for a proper fix.
For Linux users the below hack should probably work
Index: libavformat/network.h
===================================================================
--- libavformat/network.h	(revision 21153)
+++ libavformat/network.h	(working copy)
@@ -23,6 +23,10 @@
 
 #include "config.h"
 
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+#define HAVE_STRUCT_ADDRINFO 1
+#define HAVE_GETADDRINFO 1
+
 #if HAVE_WINSOCK2_H
 #include <winsock2.h>
 #include <ws2tcpip.h>


More information about the MPlayer-users mailing list