libavcodec/tests/avcodec.c: In function 'main': libavcodec/tests/avcodec.c:80:13: warning: 'ch_layouts' is deprecated [-Wdeprecated-declarations] if (codec->ch_layouts || codec->sample_fmts || ^~ In file included from libavcodec/tests/avcodec.c:20: ./libavcodec/codec.h:241:28: note: declared here const AVChannelLayout *ch_layouts; ^~~~~~~~~~ libavcodec/tests/avcodec.c:80:13: warning: 'sample_fmts' is deprecated [-Wdeprecated-declarations] if (codec->ch_layouts || codec->sample_fmts || ^~ In file included from libavcodec/tests/avcodec.c:20: ./libavcodec/codec.h:219:32: note: declared here const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~ libavcodec/tests/avcodec.c:81:17: warning: 'supported_samplerates' is deprecated [-Wdeprecated-declarations] codec->supported_samplerates) ^~~~~ In file included from libavcodec/tests/avcodec.c:20: ./libavcodec/codec.h:217:16: note: declared here const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~~~~~~~~~~~ libavcodec/tests/avcodec.c:89:13: warning: 'pix_fmts' is deprecated [-Wdeprecated-declarations] if (codec->pix_fmts || codec->supported_framerates) ^~ In file included from libavcodec/tests/avcodec.c:20: ./libavcodec/codec.h:215:31: note: declared here const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~ libavcodec/tests/avcodec.c:89:13: warning: 'supported_framerates' is deprecated [-Wdeprecated-declarations] if (codec->pix_fmts || codec->supported_framerates) ^~ In file included from libavcodec/tests/avcodec.c:20: ./libavcodec/codec.h:213:23: note: declared here const AVRational *supported_framerates; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~~~~~~~~~~ libavcodec/tests/avcodec.c:139:17: warning: 'sample_fmts' is deprecated [-Wdeprecated-declarations] if (!codec->sample_fmts) { ^~ In file included from libavcodec/tests/avcodec.c:20: ./libavcodec/codec.h:219:32: note: declared here const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~ make: *** [tests/Makefile:311: fate-hevc-mv-switch] Error 1 cpu_flags(raw) = 0x00000003 cpu_flags_str(raw) = lsx lasx cpu_flags(effective) = 0x00000003 cpu_flags_str(effective) = lsx lasx threads = 1 (cpu_count = 32) make: Target 'fate' not remade because of errors.