Advertisement
Guest User

mpv-stable-build-err.log

a guest
May 27th, 2021
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.02 KB | None | 0 0
  1. ../video/out/d3d11/ra_d3d11.c: In function 'save_cached_program.isra':
  2. ../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]
  3. 1573 | strncpy(header.magic, cache_magic, sizeof(header.magic));
  4. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6. ../audio/decode/ad_spdif.c: In function 'determine_codec_params':
  7. ../audio/decode/ad_spdif.c:119:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  8. 119 | AVCodec *codec = avcodec_find_decoder(spdif_ctx->codec_id);
  9. | ^~~~~~~~~~~~~~~~~~~~
  10.  
  11. ../audio/decode/ad_lavc.c: In function 'init':
  12. ../audio/decode/ad_lavc.c:95:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  13. 95 | lavc_codec = avcodec_find_decoder_by_name(decoder);
  14. | ^
  15.  
  16. ../video/image_writer.c: In function 'write_lavc':
  17. ../video/image_writer.c:104:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  18. 104 | av_init_packet(&pkt);
  19. | ^~~~~~~~~~~~~~
  20. In file included from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/bsf.h:30,
  21. from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:44,
  22. from ../video/image_writer.c:22:
  23. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/packet.h:474:6: note: declared here
  24. 474 | void av_init_packet(AVPacket *pkt);
  25. | ^~~~~~~~~~~~~~
  26. ../video/image_writer.c:108:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  27. 108 | codec = avcodec_find_encoder_by_name("libwebp"); // non-animated encoder
  28. | ^
  29. ../video/image_writer.c:110:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  30. 110 | codec = avcodec_find_encoder(ctx->opts->format);
  31. | ^
  32. ../video/image_writer.c: In function 'get_target_format':
  33. ../video/image_writer.c:280:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  34. 280 | struct AVCodec *codec = avcodec_find_encoder(ctx->opts->format);
  35. | ^~~~~~~~~~~~~~~~~~~~
  36.  
  37. ../sub/sd_lavc.c: In function 'init':
  38. ../sub/sd_lavc.c:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  39. 94 | AVCodec *sub_codec = avcodec_find_decoder(cid);
  40. | ^~~~~~~~~~~~~~~~~~~~
  41.  
  42. ../audio/filter/af_lavcac3enc.c: In function 'process':
  43. ../audio/filter/af_lavcac3enc.c:156:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  44. 156 | av_init_packet(&pkt);
  45. | ^~~~~~~~~~~~~~
  46. In file included from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/bsf.h:30,
  47. from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:44,
  48. from ../audio/filter/af_lavcac3enc.c:28:
  49. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/packet.h:474:6: note: declared here
  50. 474 | void av_init_packet(AVPacket *pkt);
  51. | ^~~~~~~~~~~~~~
  52. ../audio/filter/af_lavcac3enc.c: In function 'af_lavcac3enc_create':
  53. ../audio/filter/af_lavcac3enc.c:286:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  54. 286 | s->lavc_acodec = avcodec_find_encoder_by_name(s->opts->encoder);
  55. | ^
  56.  
  57. ../video/decode/vd_lavc.c: In function 'init_avctx':
  58. ../video/decode/vd_lavc.c:664:9: warning: 'thread_safe_callbacks' is deprecated [-Wdeprecated-declarations]
  59. 664 | avctx->thread_safe_callbacks = 1;
  60. | ^~~~~
  61. In file included from ../video/decode/vd_lavc.c:25:
  62. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:1585:9: note: declared here
  63. 1585 | int thread_safe_callbacks;
  64. | ^~~~~~~~~~~~~~~~~~~~~
  65.  
  66. ../sub/lavc_conv.c: In function 'lavc_conv_create':
  67. ../sub/lavc_conv.c:78:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  68. 78 | AVCodec *codec = avcodec_find_decoder(mp_codec_to_av_codec_id(fmt));
  69. | ^~~~~~~~~~~~~~~~~~~~
  70.  
  71. ../demux/packet.c: In function 'new_demux_packet_from_avpacket':
  72. ../demux/packet.c:75:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  73. 75 | av_init_packet(dp->avpacket);
  74. | ^~~~~~~~~~~~~~
  75. In file included from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/bsf.h:30,
  76. from /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/avcodec.h:44,
  77. from ../demux/packet.c:23:
  78. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libavcodec/packet.h:474:6: note: declared here
  79. 474 | void av_init_packet(AVPacket *pkt);
  80. | ^~~~~~~~~~~~~~
  81.  
  82. ../video/out/placebo/ra_pl.c: In function 'mppl_wrap_tex':
  83. ../video/out/placebo/ra_pl.c:147:13: warning: 'sample_mode' is deprecated [-Wdeprecated-declarations]
  84. 147 | .src_linear = pltex->params.sample_mode == PL_TEX_SAMPLE_LINEAR,
  85. | ^
  86. In file included from ../video/out/placebo/ra_pl.h:4,
  87. from ../video/out/placebo/ra_pl.c:4:
  88. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libplacebo/gpu.h:649:29: note: declared here
  89. 649 | enum pl_tex_sample_mode sample_mode PL_DEPRECATED;
  90. | ^~~~~~~~~~~
  91. ../video/out/placebo/ra_pl.c:148:13: warning: 'address_mode' is deprecated [-Wdeprecated-declarations]
  92. 148 | .src_repeat = pltex->params.address_mode == PL_TEX_ADDRESS_REPEAT,
  93. | ^
  94. In file included from ../video/out/placebo/ra_pl.h:4,
  95. from ../video/out/placebo/ra_pl.c:4:
  96. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libplacebo/gpu.h:650:30: note: declared here
  97. 650 | enum pl_tex_address_mode address_mode PL_DEPRECATED;
  98. | ^~~~~~~~~~~~
  99. ../video/out/placebo/ra_pl.c: In function 'blit_pl':
  100. ../video/out/placebo/ra_pl.c:402:5: error: too many arguments to function 'pl_tex_blit'
  101. 402 | pl_tex_blit(get_gpu(ra), dst->priv, src->priv, pldst, plsrc);
  102. | ^~~~~~~~~~~
  103. In file included from ../video/out/placebo/ra_pl.h:4,
  104. from ../video/out/placebo/ra_pl.c:4:
  105. /home/vaio/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/include/libplacebo/gpu.h:762:6: note: declared here
  106. 762 | void pl_tex_blit(pl_gpu gpu, const struct pl_tex_blit_params *params);
  107. | ^~~~~~~~~~~
  108.  
  109. Build failed
  110. -> task in 'objects' failed with exit status 1 (run with -v to display more information)
  111.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement