[MPlayer-users] MPLayer compile error: CONFIG_MPEGVIDEO

max muster steyding at yahoo.de
Tue Jan 25 18:50:10 EET 2022


Hello,
since a few weeks i've got the following compile errors:
---------------------------------------------------------------------------------------------
make -C ffmpeg libavcodec/libavcodec.a
make[1]: Entering directory '/trunk/mplayer-unpatched/ffmpeg'
[1m
WARNING: libavdevice/alldevices.c libavfilter/allfilters.c libavformat/allformats.c libavcodec/allcodecs.c libavcodec/bitstream_filters.c libavcodec/parsers.c libavformat/protocols.c newer than config.h, rerun configure

(B[mCC    libavcodec/h264dec.o
In file included from ./libavutil/internal.h:42,
                 from ./libavutil/common.h:576,
                 from ./libavutil/avutil.h:296,
                 from ./libavutil/avassert.h:31,
                 from libavcodec/h264dec.c:30:
./libavutil/timer.h:45:5: warning: "CONFIG_MACOS_KPERF" is not defined, evaluates to 0 [-Wundef]
   45 | #if CONFIG_MACOS_KPERF
      |     ^~~~~~~~~~~~~~~~~~
In file included from ./libavutil/internal.h:42,
                 from ./libavutil/common.h:576,
                 from ./libavutil/avutil.h:296,
                 from ./libavutil/avassert.h:31,
                 from libavcodec/h264dec.c:30:
./libavutil/timer.h:130:7: warning: "CONFIG_MACOS_KPERF" is not defined, evaluates to 0 [-Wundef]
  130 | #elif CONFIG_MACOS_KPERF
      |       ^~~~~~~~~~~~~~~~~~
libavcodec/h264dec.c: In function 'finalize_frame':
libavcodec/h264dec.c:942:13: error: 'CONFIG_MPEGVIDEODEC' undeclared (first use in this function); did you mean 'CONFIG_MPEGVIDEO'?
  942 |         if (CONFIG_MPEGVIDEODEC) {
      |             ^~~~~~~~~~~~~~~~~~~
      |             CONFIG_MPEGVIDEO
libavcodec/h264dec.c:942:13: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [ffbuild/common.mak:78: libavcodec/h264dec.o] Error 1
make[1]: Leaving directory '/trunk/mplayer-unpatched/ffmpeg'
make: *** [Makefile:744: ffmpeg/libavcodec/libavcodec.a] Error 2---------------------------------------------------------------------------------------------
i found out that something must change in actual FFMPEG source code because older versions of FFMPEG working.
Regards,
Mark


More information about the MPlayer-users mailing list