Code:
libmpcodecs/vd_ffmpeg.c:287:45: warning: call to undeclared function 'av_alloc_vdpaucontext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
287 | avctx->hwaccel_context = vdpc = av_alloc_vdpaucontext();
| ^
libmpcodecs/vd_ffmpeg.c:287:43: error: incompatible integer to pointer conversion assigning to 'AVVDPAUContext *' (aka 'struct AVVDPAUContext *') from 'int' [-Wint-conversion]
287 | avctx->hwaccel_context = vdpc = av_alloc_vdpaucontext();
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
Solution: disable video acceleration in the mplayer configuration (VDPAU).
Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291932