As suggested in https://bbs.archlinux.org/viewtopic.php?id=265578, the attached patch fixes the issues. Compilation with it is successful.
** Patch added: "Patch to allow compilation with FFMpeg 4.4-5" https://bugs.launchpad.net/ubuntu/+source/mplayer/+bug/1943153/+attachment/5524111/+files/0220_fix-libmpcodecs-ad_spdif_ffmpeg44.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943153 Title: Compilation fails with ffmpeg 4.4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mplayer/+bug/1943153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs