Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ../video/out/d3d11/ra_d3d11.c: In function 'save_cached_program.isra':
- ../video/out/d3d11/ra_d3d11.c:1573:5: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
- 1573 | strncpy(header.magic, cache_magic, sizeof(header.magic));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../audio/decode/ad_spdif.c: In function 'determine_codec_params':
- ../audio/decode/ad_spdif.c:119:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 119 | AVCodec *codec = avcodec_find_decoder(spdif_ctx->codec_id);
- | ^~~~~~~~~~~~~~~~~~~~
- ../audio/decode/ad_lavc.c: In function 'init':
- ../audio/decode/ad_lavc.c:95:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 95 | lavc_codec = avcodec_find_decoder_by_name(decoder);
- | ^
- ../video/image_writer.c: In function 'write_lavc':
- ../video/image_writer.c:104:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
- 104 | av_init_packet(&pkt);
- | ^~~~~~~~~~~~~~
- In file included from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/bsf.h:30,
- from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:44,
- from ../video/image_writer.c:22:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/packet.h:474:6: note: declared here
- 474 | void av_init_packet(AVPacket *pkt);
- | ^~~~~~~~~~~~~~
- ../video/image_writer.c:108:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 108 | codec = avcodec_find_encoder_by_name("libwebp"); // non-animated encoder
- | ^
- ../video/image_writer.c:110:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 110 | codec = avcodec_find_encoder(ctx->opts->format);
- | ^
- ../video/image_writer.c: In function 'get_target_format':
- ../video/image_writer.c:280:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 280 | struct AVCodec *codec = avcodec_find_encoder(ctx->opts->format);
- | ^~~~~~~~~~~~~~~~~~~~
- ../sub/sd_lavc.c: In function 'init':
- ../sub/sd_lavc.c:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 94 | AVCodec *sub_codec = avcodec_find_decoder(cid);
- | ^~~~~~~~~~~~~~~~~~~~
- ../audio/filter/af_lavcac3enc.c: In function 'process':
- ../audio/filter/af_lavcac3enc.c:156:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
- 156 | av_init_packet(&pkt);
- | ^~~~~~~~~~~~~~
- In file included from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/bsf.h:30,
- from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:44,
- from ../audio/filter/af_lavcac3enc.c:28:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/packet.h:474:6: note: declared here
- 474 | void av_init_packet(AVPacket *pkt);
- | ^~~~~~~~~~~~~~
- ../audio/filter/af_lavcac3enc.c: In function 'af_lavcac3enc_create':
- ../audio/filter/af_lavcac3enc.c:286:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 286 | s->lavc_acodec = avcodec_find_encoder_by_name(s->opts->encoder);
- | ^
- ../video/decode/vd_lavc.c: In function 'init_avctx':
- ../video/decode/vd_lavc.c:664:9: warning: 'thread_safe_callbacks' is deprecated [-Wdeprecated-declarations]
- 664 | avctx->thread_safe_callbacks = 1;
- | ^~~~~
- In file included from ../video/decode/vd_lavc.c:25:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:1585:9: note: declared here
- 1585 | int thread_safe_callbacks;
- | ^~~~~~~~~~~~~~~~~~~~~
- ../sub/lavc_conv.c: In function 'lavc_conv_create':
- ../sub/lavc_conv.c:78:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 78 | AVCodec *codec = avcodec_find_decoder(mp_codec_to_av_codec_id(fmt));
- | ^~~~~~~~~~~~~~~~~~~~
- ../demux/packet.c: In function 'new_demux_packet_from_avpacket':
- ../demux/packet.c:75:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
- 75 | av_init_packet(dp->avpacket);
- | ^~~~~~~~~~~~~~
- In file included from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/bsf.h:30,
- from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:44,
- from ../demux/packet.c:23:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/packet.h:474:6: note: declared here
- 474 | void av_init_packet(AVPacket *pkt);
- | ^~~~~~~~~~~~~~
- ../video/out/placebo/ra_pl.c: In function 'mppl_wrap_tex':
- ../video/out/placebo/ra_pl.c:147:13: warning: 'sample_mode' is deprecated [-Wdeprecated-declarations]
- 147 | .src_linear = pltex->params.sample_mode == PL_TEX_SAMPLE_LINEAR,
- | ^
- In file included from ../video/out/placebo/ra_pl.h:4,
- from ../video/out/placebo/ra_pl.c:4:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libplacebo/gpu.h:649:29: note: declared here
- 649 | enum pl_tex_sample_mode sample_mode PL_DEPRECATED;
- | ^~~~~~~~~~~
- ../video/out/placebo/ra_pl.c:148:13: warning: 'address_mode' is deprecated [-Wdeprecated-declarations]
- 148 | .src_repeat = pltex->params.address_mode == PL_TEX_ADDRESS_REPEAT,
- | ^
- In file included from ../video/out/placebo/ra_pl.h:4,
- from ../video/out/placebo/ra_pl.c:4:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libplacebo/gpu.h:650:30: note: declared here
- 650 | enum pl_tex_address_mode address_mode PL_DEPRECATED;
- | ^~~~~~~~~~~~
- ../video/out/placebo/ra_pl.c: In function 'blit_pl':
- ../video/out/placebo/ra_pl.c:402:5: error: too many arguments to function 'pl_tex_blit'
- 402 | pl_tex_blit(get_gpu(ra), dst->priv, src->priv, pldst, plsrc);
- | ^~~~~~~~~~~
- In file included from ../video/out/placebo/ra_pl.h:4,
- from ../video/out/placebo/ra_pl.c:4:
- /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libplacebo/gpu.h:762:6: note: declared here
- 762 | void pl_tex_blit(pl_gpu gpu, const struct pl_tex_blit_params *params);
- | ^~~~~~~~~~~
- Build failed
- -> task in 'objects' failed with exit status 1 (run with -v to display more information)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement