libavfilter/avfiltergraph.c: In function 'avfilter_graph_free': libavfilter/avfiltergraph.c:135:5: warning: 'resample_lavr_opts' is deprecated [-Wdeprecated-declarations] av_freep(&(*graph)->resample_lavr_opts) ^ In file included from libavfilter/avfiltergraph.c:39:0: libavfilter/avfilter.h:862:32: note: declared here attribute_deprecated char *resample_lavr_opts ///< libavresample options to use for the auto-inserted resample filters ^ libavfilter/vf_mcdeint.c: In function 'filter_frame': libavfilter/vf_mcdeint.c:189:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_encode_video2(mcdeint->enc_ctx, &pkt, inpic, &got_frame) ^ In file included from libavfilter/vf_mcdeint.c:54:0: ./libavcodec/avcodec.h:3705:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^ libavfilter/vf_mcdeint.c:193:5: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] frame_dec = mcdeint->enc_ctx->coded_frame ^ In file included from libavfilter/vf_mcdeint.c:54:0: ./libavcodec/avcodec.h:1781:35: note: declared here attribute_deprecated AVFrame *coded_frame ^ libavfilter/vf_uspp.c: In function 'filter': libavfilter/vf_uspp.c:255:9: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_encode_video2(p->avctx_enc[i], &pkt, p->frame, &got_pkt_ptr) ^ In file included from libavfilter/internal.h:35:0, from libavfilter/vf_uspp.c:35: ./libavcodec/avcodec.h:3705:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^ libavfilter/vf_uspp.c:261:9: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] p->frame_dec = p->avctx_enc[i]->coded_frame ^ In file included from libavfilter/internal.h:35:0, from libavfilter/vf_uspp.c:35: ./libavcodec/avcodec.h:1781:35: note: declared here attribute_deprecated AVFrame *coded_frame ^ libavformat/protocols.c: In function 'avio_enum_protocols': libavformat/protocols.c:116:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p = p ? p + 1 : url_protocols ^ libavcodec/avrndec.c: In function 'init': libavcodec/avrndec.c:61:9: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] a->mjpeg_avctx->refcounted_frames = 1 ^ In file included from libavcodec/avrndec.c:22:0: libavcodec/avcodec.h:1362:9: note: declared here int refcounted_frames ^ libavcodec/avrndec.c: In function 'decode_frame': libavcodec/avrndec.c:111:9: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_decode_video2(a->mjpeg_avctx, data, got_frame, avpkt) ^ In file included from libavcodec/avrndec.c:22:0: libavcodec/avcodec.h:3085:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^ libavcodec/decode.c: In function 'compat_decode': libavcodec/decode.c:787:13: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] if (!avctx->refcounted_frames) { ^ In file included from libavcodec/decode.c:41:0: libavcodec/avcodec.h:1362:9: note: declared here int refcounted_frames ^ libavcodec/mjpegdec.c: In function 'ff_mjpeg_receive_frame': libavcodec/mjpegdec.c:2617:21: warning: 'av_frame_set_qp_table' is deprecated [-Wdeprecated-declarations] av_frame_set_qp_table(frame, qp_table_buf, 0, FF_QSCALE_TYPE_MPEG1) ^ In file included from libavcodec/avcodec.h:38:0, from libavcodec/mjpegdec.c:36: ./libavutil/frame.h:741:5: note: declared here int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type) ^ libavcodec/pcm-bluray.c: In function 'pcm_bluray_decode_frame': libavcodec/pcm-bluray.c:172:45: warning: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types] bytestream2_get_buffer(&gb, dst16, buf_size) ^ In file included from libavcodec/pcm-bluray.c:29:0: libavcodec/bytestream.h:267:38: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int16_t * {aka short int *}' static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g, ^ libavcodec/pcm-bluray.c:192:49: warning: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types] bytestream2_get_buffer(&gb, dst16, avctx->channels * 2) ^ In file included from libavcodec/pcm-bluray.c:29:0: libavcodec/bytestream.h:267:38: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int16_t * {aka short int *}' static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g, ^ libavcodec/pcm-dvd.c: In function 'pcm_dvd_decode_samples': libavcodec/pcm-dvd.c:155:37: warning: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types] bytestream2_get_buffer(&gb, dst16, blocks * s->block_size) ^ In file included from libavcodec/pcm-dvd.c:28:0: libavcodec/bytestream.h:267:38: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int16_t * {aka short int *}' static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g, ^ libavcodec/utils.c: In function 'avcodec_flush_buffers': libavcodec/utils.c:1131:5: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] if (!avctx->refcounted_frames) ^ In file included from libavcodec/utils.c:45:0: libavcodec/avcodec.h:1362:9: note: declared here int refcounted_frames ^ libavcodec/v4l2_m2m_enc.c: In function 'v4l2_set_ext_ctrl': libavcodec/v4l2_m2m_enc.c:55:12: warning: braces around scalar initializer struct v4l2_ext_controls ctrls = { { 0 } } ^ libavcodec/v4l2_m2m_enc.c:55:12: note: (near initialization for 'ctrls.ctrl_class') libavcodec/v4l2_m2m_enc.c: In function 'v4l2_get_ext_ctrl': libavcodec/v4l2_m2m_enc.c:76:12: warning: braces around scalar initializer struct v4l2_ext_controls ctrls = { { 0 } } ^ libavcodec/v4l2_m2m_enc.c:76:12: note: (near initialization for 'ctrls.ctrl_class') libavcodec/vvc_parser.c:24:22: fatal error: cbs_h266.h: No such file or directory compilation terminated. make: *** [libavcodec/vvc_parser.o] Error 1 make: *** Waiting for unfinished jobs....