[MPlayer-users] Can't compile

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri May 7 00:13:57 EEST 2021


On 6 May 2021 15:19:48 CEST, Masaru Nomiya <nomiya at galaxy.dti.ne.jp> wrote:
>Hello,
>
>Sorry for late reply.
>
>In the Message; 
>
>  Subject    : Re: [MPlayer-users] Can't compile
>  Message-ID : <20210503212123.GA3100 at akuma.local>
>  Date & Time: Mon, 3 May 2021 23:21:23 +0200
>
>[AS] == Alexander Strasser <eclipse7 at gmx.net> has written:
>
>[...]
>SA>>>  Anyway if you don't need mencoder, `make mplayer` should be
>fine.
>
>MN>> Sorry, but I can't compile;
>
>AS>  That's because building mencoder is still failing.
>
>AS>  If you want to build mplayer you need to restrict the make target
>to
>AS>  mplayer. E.g. use
>
>AS>      make mplayer
>
>AS>  You can still use it now after the build failed.
>
>Ah, I understand.
>
>I tried 'make mplayer', but got error;
>
>[...]
>libmpcodecs/ad_spdif.c: In function 'init':
>libmpcodecs/ad_spdif.c:129:33: error: 'AVStream' {aka 'struct
>AVStream'} has no member named 'codec'
>129 |             lavf_ctx->streams[0]->codec->codec_id =
>fmt_id_type[i].id;

Did you forget to update?
This is not what line 129 in that file looks like since r38307.
Codec was replaced with codecpar. 



More information about the MPlayer-users mailing list