Re: Can't compile
Reimar Döffinger <[email protected]> Thu, 06 May 2021 23:13:57 +0200
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <[email protected]> |
On 6 May 2021 15:19:48 CEST, Masaru Nomiya <[email protected]> wrote: >Hello, > >Sorry for late reply. > >In the Message; > > Subject : Re: [MPlayer-users] Can't compile > Message-ID : <[email protected]> > Date & Time: Mon, 3 May 2021 23:21:23 +0200 > >[AS] == Alexander Strasser <[email protected]> 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.