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

Giorgio mywing81 at gmail.com
Mon Jan 11 23:55:00 CET 2010


2010/1/11 Reimar Döffinger <Reimar.Doeffinger at gmx.de>:
> 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.

Okay, good to know I'm not alone and this is a known issue.

> 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>

I'll wait some days and if it doesn't get fixed I'll try this solution.
Thank you for your help Reimar, always greatly appreciated.

Giorgio Vazzana


More information about the MPlayer-users mailing list