Hello ffmpeg-devel, I can't code in C, so to still contribute to this project I'd like to report the warnings I got while compiling ffmpeg-N-92765-g2744d6b on Windows using Cygwin, MinGW 6.0.0 and GCC 8.2.0.
configure options: > Configuring ffmpeg_git as ./configure --arch=x86 --target-os=mingw32 > --cross-prefix=/cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32- > --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Reino > --enable-gray --enable-version3 --disable-debug --disable-doc > --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages > --disable-w32threads --enable-avisynth --enable-frei0r --enable-filter=frei0r > --enable-gmp --enable-gpl --enable-libaom --enable-libass --enable-libbluray > --enable-libbs2b --enable-libcaca --extra-cflags=-DCACA_STATIC > --enable-libfdk-aac --enable-libflite --enable-libfontconfig > --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm > --enable-libilbc --enable-libmp3lame --enable-libmysofa > --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 > --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libsnappy > --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame > --extra-cflags=-DLIBTWOLAME_STATIC --enable-libvidstab > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp > --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxml2 > --enable-libxvid --enable-libzimg --enable-libzvbi --enable-mbedtls > --extra-cflags=-march=pentium3 --extra-cflags=-mtune=athlon-xp > --extra-cflags=-O2 --extra-cflags=-mfpmath=sse --extra-cflags=-msse > --enable-static --disable-shared > --prefix=/cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32. Warnings (other than [-Wdeprecated-declarations]): > CC libavformat/aadec.o > libavformat/aadec.c: In function 'aa_read_header': > libavformat/aadec.c:115:13: warning: 'strncpy' output may be truncated > copying 63 bytes from a string of length 127 [-Wstringop-truncation] > strncpy(codec_name, val, sizeof(codec_name) - 1); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CC libavformat/dashdec.o > In function 'parse_manifest_representation', > inlined from 'parse_manifest_adaptationset' at > libavformat/dashdec.c:1144:19, > inlined from 'parse_manifest' at libavformat/dashdec.c:1331:17: > libavformat/dashdec.c:1059:13: warning: 'strncpy' specified bound 20 equals > destination size [-Wstringop-truncation] > strncpy(rep->id, rep_id_val ? rep_id_val : "", sizeof(rep->id)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CC libavformat/hls.o > In function 'new_rendition', > inlined from 'parse_playlist' at libavformat/hls.c:787:13: > libavformat/hls.c:515:13: warning: 'strncpy' output may be truncated copying > between 2 and 62 bytes from a string of length 63 [-Wstringop-truncation] > strncpy(rend->language + langlen + 1, info->assoc_language, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > sizeof(rend->language) - langlen - 2); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CC libavformat/hlsenc.o > libavformat/hlsenc.c: In function 'get_default_pattern_localtime_fmt': > libavformat/hlsenc.c:1678:63: warning: unknown conversion type character 's' > in format [-Wformat=] > return (HAVE_LIBC_MSVCRT || !strftime(b, sizeof(b), "%s", p) || > !strcmp(b, "%s")) ? "-%Y%m%d%H%M%S.m4s" : "-%s.m4s"; > ^ > libavformat/hlsenc.c:1680:59: warning: unknown conversion type character 's' > in format [-Wformat=] > return (HAVE_LIBC_MSVCRT || !strftime(b, sizeof(b), "%s", p) || > !strcmp(b, "%s")) ? "-%Y%m%d%H%M%S.ts" : "-%s.ts"; > ^ > CC libavformat/os_support.o > libavformat/os_support.c: In function 'ff_poll': > libavformat/os_support.c:248:23: warning: comparison of unsigned expression < > 0 is always false [-Wtype-limits] > if (fds[i].fd < 0) > ^ > CC libavformat/protocols.o > libavformat/protocols.c: In function 'avio_enum_protocols': > libavformat/protocols.c:98:7: warning: assignment discards 'const' qualifier > from pointer target type [-Wdiscarded-qualifiers] > p = p ? p + 1 : url_protocols; > ^ > X86ASM libavcodec/x86/proresdsp.o > STRIP libavcodec/x86/proresdsp.o > /cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-strip: > error: the input file 'libavcodec/x86/proresdsp.o' has no sections > make: [ffbuild/common.mak:83: libavcodec/x86/proresdsp.o] Error 1 (ignored) > X86ASM libavcodec/x86/simple_idct10.o > STRIP libavcodec/x86/simple_idct10.o > /cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-strip: > error: the input file 'libavcodec/x86/simple_idct10.o' has no sections > make: [ffbuild/common.mak:83: libavcodec/x86/simple_idct10.o] Error 1 > (ignored) > CC libavutil/hwcontext_d3d11va.o > libavutil/hwcontext_d3d11va.c: In function 'd3d11va_transfer_data': > libavutil/hwcontext_d3d11va.c:413:49: warning: passing argument 3 of > 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] > av_image_copy(dst->data, dst->linesize, map_data, map_linesize, > ^~~~~~~~ > In file included from libavutil/hwcontext_d3d11va.c:38: > libavutil/imgutils.h:120:35: note: expected 'const uint8_t **' {aka 'const > unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char > **'} > const uint8_t *src_data[4], const int src_linesizes[4], > ~~~~~~~~~~~~~~~^~~~~~~~~~~ > libavutil/hwcontext_d3d11va.c:425:50: warning: passing argument 3 of > 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] > av_image_copy(map_data, map_linesize, src->data, src->linesize, > ~~~^~~~~~ > In file included from libavutil/hwcontext_d3d11va.c:38: > libavutil/imgutils.h:120:35: note: expected 'const uint8_t **' {aka 'const > unsigned char **'} but argument is of type 'uint8_t * const*' {aka 'unsigned > char * const*'} > const uint8_t *src_data[4], const int src_linesizes[4], > ~~~~~~~~~~~~~~~^~~~~~~~~~~ > CC libavutil/hwcontext_dxva2.o > libavutil/hwcontext_dxva2.c: In function 'dxva2_transfer_data_to': > libavutil/hwcontext_dxva2.c:351:48: warning: passing argument 3 of > 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] > av_image_copy(map->data, map->linesize, src->data, src->linesize, > ~~~^~~~~~ > In file included from libavutil/hwcontext_dxva2.c:33: > libavutil/imgutils.h:120:35: note: expected 'const uint8_t **' {aka 'const > unsigned char **'} but argument is of type 'uint8_t * const*' {aka 'unsigned > char * const*'} > const uint8_t *src_data[4], const int src_linesizes[4], > ~~~~~~~~~~~~~~~^~~~~~~~~~~ > libavutil/hwcontext_dxva2.c: In function 'dxva2_transfer_data_from': > libavutil/hwcontext_dxva2.c:382:55: warning: passing argument 3 of > 'av_image_copy_uc_from' from incompatible pointer type > [-Wincompatible-pointer-types] > av_image_copy_uc_from(dst->data, dst_linesize, map->data, src_linesize, > ~~~^~~~~~ > In file included from libavutil/hwcontext_dxva2.c:33: > libavutil/imgutils.h:138:43: note: expected 'const uint8_t **' {aka 'const > unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char > **'} > const uint8_t *src_data[4], const ptrdiff_t > src_linesizes[4], > ~~~~~~~~~~~~~~~^~~~~~~~~~~ > fftools/cmdutils.c: In function 'print_buildconf': > fftools/cmdutils.c:1163:9: warning: 'strncpy' output truncated before > terminating nul copying 3 bytes from a string of the same length > [-Wstringop-truncation] > strncpy(conflist, "~--", 3); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > fftools/cmdutils.c:1169:9: warning: 'strncpy' output truncated before > terminating nul copying 11 bytes from a string of the same length > [-Wstringop-truncation] > strncpy(remove_tilde, "pkg-config ", 11); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ See attachment for all warnings. -- Reino
Configuring ffmpeg_git as ./configure --arch=x86 --target-os=mingw32 --cross-prefix=/cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Reino --enable-gray --enable-version3 --disable-debug --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-w32threads --enable-avisynth --enable-frei0r --enable-filter=frei0r --enable-gmp --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --extra-cflags=-DCACA_STATIC --enable-libfdk-aac --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-mbedtls --extra-cflags=-march=pentium3 --extra-cflags=-mtune=athlon-xp --extra-cflags=-O2 --extra-cflags=-mfpmath=sse --extra-cflags=-msse --enable-static --disable-shared --prefix=/cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32. install prefix /cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 source path . C compiler /cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc C library mingw64 host C compiler gcc host C library newlib ARCH x86 (generic) version string suffix Reino big-endian no runtime cpu detection yes standalone assembly yes x86 assembler nasm MMX enabled yes MMXEXT enabled yes 3DNow! enabled yes 3DNow! extended enabled yes SSE enabled yes SSSE3 enabled yes AESNI enabled yes AVX enabled yes AVX2 enabled yes AVX-512 enabled yes XOP enabled yes FMA3 enabled yes FMA4 enabled yes i686 features enabled yes CMOV is fast no EBX available yes EBP available yes debug symbols no strip symbols yes optimize for size no optimizations yes static yes shared no postprocessing support yes network support yes threading support pthreads safe bitstream reader yes texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled yes makeinfo supports HTML yes CC libavdevice/avdevice.o libavdevice/avdevice.c: In function 'device_next': libavdevice/avdevice.c:88:13: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations] if (!(prev = av_oformat_next(prev))) ^~ In file included from libavdevice/avdevice.h:51, from libavdevice/avdevice.c:23: ./libavformat/avformat.h:2088:17: note: declared here AVOutputFormat *av_oformat_next(const AVOutputFormat *f); ^~~~~~~~~~~~~~~ libavdevice/avdevice.c:92:13: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations] if (!(prev = av_iformat_next(prev))) ^~ In file included from libavdevice/avdevice.h:51, from libavdevice/avdevice.c:23: ./libavformat/avformat.h:2080:17: note: declared here AVInputFormat *av_iformat_next(const AVInputFormat *f); ^~~~~~~~~~~~~~~ CC libavdevice/caca.o libavdevice/caca.c: In function 'caca_write_header': libavdevice/caca.c:183:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] caca_set_display_time(c->display, av_rescale_q(1, st->codec->time_base, AV_TIME_BASE_Q)); ^~~~~~~~~~~~~~~~~~~~~ In file included from libavdevice/avdevice.h:51, from libavdevice/caca.c:24: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ [...] CC libavfilter/avfiltergraph.o 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: libavfilter/avfilter.h:847:32: note: declared here attribute_deprecated char *resample_lavr_opts; ///< libavresample options to use for the auto-inserted resample filters ^~~~~~~~~~~~~~~~~~ [...] CC libavfilter/lavfutils.o libavfilter/lavfutils.c: In function 'ff_load_image': libavfilter/lavfutils.c:91:5: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_decode_video2(codec_ctx, frame, &frame_decoded, &pkt); ^~~ In file included from ./libavformat/avformat.h:319, from libavfilter/lavfutils.h:27, from libavfilter/lavfutils.c:22: ./libavcodec/avcodec.h:4788:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/src_movie.o libavfilter/src_movie.c: In function 'open_stream': libavfilter/src_movie.c:175:5: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] st->codec_ctx->refcounted_frames = 1; ^~ In file included from libavfilter/src_movie.c:41: ./libavcodec/avcodec.h:2367:9: note: declared here int refcounted_frames; ^~~~~~~~~~~~~~~~~ libavfilter/src_movie.c: In function 'movie_push_frame': libavfilter/src_movie.c:529:9: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_decode_video2(st->codec_ctx, frame, &got_frame, pkt); ^~~ In file included from libavfilter/src_movie.c:41: ./libavcodec/avcodec.h:4788:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ libavfilter/src_movie.c:532:9: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations] ret = avcodec_decode_audio4(st->codec_ctx, frame, &got_frame, pkt); ^~~ In file included from libavfilter/src_movie.c:41: ./libavcodec/avcodec.h:4739:5: note: declared here int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/vf_codecview.o libavfilter/vf_codecview.c: In function 'filter_frame': libavfilter/vf_codecview.c:223:9: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] int8_t *qp_table = av_frame_get_qp_table(frame, &qstride, &qp_type); ^~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/vf_codecview.c:35: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/vf_fspp.o libavfilter/vf_fspp.c: In function 'filter_frame': libavfilter/vf_fspp.c:585:9: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] qp_table = av_frame_get_qp_table(in, &qp_stride, &fspp->qscale_type); ^~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/internal.h:28, from libavfilter/vf_fspp.c:42: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/vf_mcdeint.o 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: ./libavcodec/avcodec.h:5419: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: ./libavcodec/avcodec.h:2786:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ [...] CC libavfilter/vf_pp.o libavfilter/vf_pp.c: In function 'pp_filter_frame': libavfilter/vf_pp.c:140:5: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] qp_table = av_frame_get_qp_table(inbuf, &qstride, &qp_type); ^~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/internal.h:28, from libavfilter/vf_pp.c:29: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ CC libavfilter/vf_pp7.o libavfilter/vf_pp7.c: In function 'filter_frame': libavfilter/vf_pp7.c:328:9: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] qp_table = av_frame_get_qp_table(in, &qp_stride, &pp7->qscale_type); ^~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/internal.h:28, from libavfilter/vf_pp7.c:34: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/vf_qp.o libavfilter/vf_qp.c: In function 'filter_frame': libavfilter/vf_qp.c:113:5: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] in_qp_table = av_frame_get_qp_table(in, &stride, &type); ^~~~~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/vf_qp.c:26: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ libavfilter/vf_qp.c:114:5: warning: 'av_frame_set_qp_table' is deprecated [-Wdeprecated-declarations] av_frame_set_qp_table(out, out_qp_table_buf, s->qstride, type); ^~~~~~~~~~~~~~~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/vf_qp.c:26: ./libavutil/frame.h:658:5: note: declared here int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/vf_spp.o libavfilter/vf_spp.c: In function 'filter_frame': libavfilter/vf_spp.c:369:9: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] qp_table = av_frame_get_qp_table(in, &qp_stride, &s->qscale_type); ^~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/internal.h:28, from libavfilter/vf_spp.c:38: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavfilter/vf_uspp.o libavfilter/vf_uspp.c: In function 'filter': libavfilter/vf_uspp.c:253: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, from libavfilter/vf_uspp.c:34: ./libavcodec/avcodec.h:5419:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ libavfilter/vf_uspp.c:259: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, from libavfilter/vf_uspp.c:34: ./libavcodec/avcodec.h:2786:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ libavfilter/vf_uspp.c: In function 'filter_frame': libavfilter/vf_uspp.c:395:9: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] qp_table = av_frame_get_qp_table(in, &qp_stride, &uspp->qscale_type); ^~~~~~~~ In file included from libavfilter/avfilter.h:44, from libavfilter/internal.h:28, from libavfilter/vf_uspp.c:34: ./libavutil/frame.h:656:9: note: declared here int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavformat/aadec.o libavformat/aadec.c: In function 'aa_read_header': libavformat/aadec.c:115:13: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 127 [-Wstringop-truncation] strncpy(codec_name, val, sizeof(codec_name) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [...] CC libavformat/avisynth.o In file included from libavformat/avisynth.c:38: ./compat/avisynth/avisynth_c.h:947:27: warning: function declaration isn't a prototype [-Wstrict-prototypes] AVSC_INLINE AVS_Library * avs_load_library() { ^~~~~~~~~~~~~~~~ libavformat/avisynth.c: In function 'avisynth_load_library': libavformat/avisynth.c:126:26: warning: assignment to 'avs_bit_blt_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:130:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_bit_blt, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_clip_get_error_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:131:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_clip_get_error, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_create_script_environment_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:132:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_create_script_environment, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_delete_script_environment_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:133:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_delete_script_environment, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_get_error_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:135:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_get_error, 1); // New to AviSynth 2.6 ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_get_frame_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:136:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_get_frame, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_get_video_info_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:138:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_get_video_info, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_invoke_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:139:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_invoke, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_release_clip_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:140:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_release_clip, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_release_value_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:141:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_release_value, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_release_video_frame_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:142:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_release_video_frame, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_take_clip_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:143:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_take_clip, 0); ^~~~~~~~~~~~~ libavformat/avisynth.c:126:26: warning: assignment to 'avs_get_read_ptr_p_func' from incompatible pointer type 'FARPROC' [-Wincompatible-pointer-types] avs_library.name = dlsym(avs_library.library, #name); \ ^ libavformat/avisynth.c:148:5: note: in expansion of macro 'LOAD_AVS_FUNC' LOAD_AVS_FUNC(avs_get_read_ptr_p, 1); ^~~~~~~~~~~~~ libavformat/avisynth.c: In function 'avisynth_open_file': libavformat/avisynth.c:537:5: warning: 'filename' is deprecated [-Wdeprecated-declarations] MultiByteToWideChar(CP_UTF8, 0, s->filename, -1, filename_wc, MAX_PATH * 4); ^~~~~~~~~~~~~~~~~~~ In file included from libavformat/avisynth.c:27: libavformat/avformat.h:1417:10: note: declared here char filename[1024]; ^~~~~~~~ [...] CC libavformat/dashdec.o In function 'parse_manifest_representation', inlined from 'parse_manifest_adaptationset' at libavformat/dashdec.c:1144:19, inlined from 'parse_manifest' at libavformat/dashdec.c:1331:17: libavformat/dashdec.c:1059:13: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] strncpy(rep->id, rep_id_val ? rep_id_val : "", sizeof(rep->id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [...] CC libavformat/dump.o libavformat/dump.c: In function 'dump_stream_format': libavformat/dump.c:475:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->properties = st->codec->properties; ^~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:476:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->codec = st->codec->codec; ^~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:477:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->qmin = st->codec->qmin; ^~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:478:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->qmax = st->codec->qmax; ^~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:479:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->coded_width = st->codec->coded_width; ^~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:480:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] avctx->coded_height = st->codec->coded_height; ^~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:515:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] int tbc = st->codec->time_base.den && st->codec->time_base.num; ^~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:515:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] int tbc = st->codec->time_base.den && st->codec->time_base.num; ^~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/dump.c:527:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] print_fps(1 / av_q2d(st->codec->time_base), "tbc"); ^~~~~~~~~ In file included from libavformat/dump.c:37: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ [...] CC libavformat/hls.o In function 'new_rendition', inlined from 'parse_playlist' at libavformat/hls.c:787:13: libavformat/hls.c:515:13: warning: 'strncpy' output may be truncated copying between 2 and 62 bytes from a string of length 63 [-Wstringop-truncation] strncpy(rend->language + langlen + 1, info->assoc_language, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(rend->language) - langlen - 2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/hlsenc.o libavformat/hlsenc.c: In function 'get_default_pattern_localtime_fmt': libavformat/hlsenc.c:1678:63: warning: unknown conversion type character 's' in format [-Wformat=] return (HAVE_LIBC_MSVCRT || !strftime(b, sizeof(b), "%s", p) || !strcmp(b, "%s")) ? "-%Y%m%d%H%M%S.m4s" : "-%s.m4s"; ^ libavformat/hlsenc.c:1680:59: warning: unknown conversion type character 's' in format [-Wformat=] return (HAVE_LIBC_MSVCRT || !strftime(b, sizeof(b), "%s", p) || !strcmp(b, "%s")) ? "-%Y%m%d%H%M%S.ts" : "-%s.ts"; ^ [...] CC libavformat/movenc.o libavformat/movenc.c: In function 'handle_eac3': libavformat/movenc.c:517:9: warning: 'av_copy_packet_side_data' is deprecated [-Wdeprecated-declarations] if ((ret = av_copy_packet_side_data(&info->pkt, pkt)) < 0) ^~ In file included from libavformat/avformat.h:319, from libavformat/movenc.h:27, from libavformat/movenc.c:27: ./libavcodec/avcodec.h:4423:5: note: declared here int av_copy_packet_side_data(AVPacket *dst, const AVPacket *src); ^~~~~~~~~~~~~~~~~~~~~~~~ [...] CC libavformat/options.o libavformat/options.c: In function 'format_child_class_next': libavformat/options.c:64:5: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations] while ((ifmt = av_iformat_next(ifmt))) ^~~~~ In file included from libavformat/options.c:20: libavformat/avformat.h:2080:17: note: declared here AVInputFormat *av_iformat_next(const AVInputFormat *f); ^~~~~~~~~~~~~~~ libavformat/options.c:69:9: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations] while ((ofmt = av_oformat_next(ofmt))) ^~~~~ In file included from libavformat/options.c:20: libavformat/avformat.h:2088:17: note: declared here AVOutputFormat *av_oformat_next(const AVOutputFormat *f); ^~~~~~~~~~~~~~~ libavformat/options.c:73:9: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations] while (ifmt = av_iformat_next(ifmt)) ^~~~~ In file included from libavformat/options.c:20: libavformat/avformat.h:2080:17: note: declared here AVInputFormat *av_iformat_next(const AVInputFormat *f); ^~~~~~~~~~~~~~~ libavformat/options.c:77:5: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations] while (ofmt = av_oformat_next(ofmt)) ^~~~~ In file included from libavformat/options.c:20: libavformat/avformat.h:2088:17: note: declared here AVOutputFormat *av_oformat_next(const AVOutputFormat *f); ^~~~~~~~~~~~~~~ CC libavformat/os_support.o libavformat/os_support.c: In function 'ff_poll': libavformat/os_support.c:248:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (fds[i].fd < 0) ^ [...] CC libavformat/protocols.o libavformat/protocols.c: In function 'avio_enum_protocols': libavformat/protocols.c:98:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p = p ? p + 1 : url_protocols; ^ [...] CC libavformat/sdp.o libavformat/sdp.c: In function 'sdp_write_media_attributes': libavformat/sdp.c:706:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] if (st->codec) { ^~ In file included from libavformat/sdp.c:29: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/sdp.c:710:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] if (st->codec->flags & AV_CODEC_FLAG_QSCALE) ^~ In file included from libavformat/sdp.c:29: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/sdp.c:712:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] else if (!av_opt_get_int(st->codec, "vad", AV_OPT_FLAG_ENCODING_PARAM, &vad_option) && vad_option) ^~~~ In file included from libavformat/sdp.c:29: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ [...] CC libavformat/utils.o libavformat/utils.c: In function 'find_probe_decoder': libavformat/utils.c:225:9: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations] while (probe_codec = av_codec_next(probe_codec)) { ^~~~~ In file included from ./libavcodec/internal.h:33, from libavformat/utils.c:41: ./libavcodec/avcodec.h:4078:10: note: declared here AVCodec *av_codec_next(const AVCodec *c); ^~~~~~~~~~~~~ libavformat/utils.c: In function 'avformat_transfer_internal_stream_timing_info': libavformat/utils.c:5761:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] const AVCodecContext *dec_ctx = ist->codec; ^~~~~ In file included from libavformat/audiointerleave.h:27, from libavformat/utils.c:44: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ libavformat/utils.c:5762:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] AVCodecContext *enc_ctx = ost->codec; ^~~~~~~~~~~~~~ In file included from libavformat/audiointerleave.h:27, from libavformat/utils.c:44: libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ [...] CC libavcodec/avrndec.o libavcodec/avrndec.c: In function 'init': libavcodec/avrndec.c:59:9: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] a->mjpeg_avctx->refcounted_frames = 1; ^ In file included from libavcodec/avrndec.c:22: libavcodec/avcodec.h:2367:9: note: declared here int refcounted_frames; ^~~~~~~~~~~~~~~~~ libavcodec/avrndec.c: In function 'decode_frame': libavcodec/avrndec.c:110: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: libavcodec/avcodec.h:4788:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavcodec/decode.o libavcodec/decode.c: In function 'compat_decode': libavcodec/decode.c:817:13: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] if (!avctx->refcounted_frames) { ^~ In file included from libavcodec/decode.c:41: libavcodec/avcodec.h:2367:9: note: declared here int refcounted_frames; ^~~~~~~~~~~~~~~~~ libavcodec/decode.c: In function 'avcodec_flush_buffers': libavcodec/decode.c:2004:5: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] if (!avctx->refcounted_frames) ^~ In file included from libavcodec/decode.c:41: libavcodec/avcodec.h:2367:9: note: declared here int refcounted_frames; ^~~~~~~~~~~~~~~~~ [...] CC libavcodec/encode.o libavcodec/encode.c: In function 'do_encode': libavcodec/encode.c:365:9: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_encode_video2(avctx, avctx->internal->buffer_pkt, ^~~ libavcodec/encode.c:258:25: note: declared here int attribute_align_arg avcodec_encode_video2(AVCodecContext *avctx, ^~~~~~~~~~~~~~~~~~~~~ libavcodec/encode.c:368:9: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations] ret = avcodec_encode_audio2(avctx, avctx->internal->buffer_pkt, ^~~ libavcodec/encode.c:118:25: note: declared here int attribute_align_arg avcodec_encode_audio2(AVCodecContext *avctx, ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavcodec/frame_thread_encoder.o libavcodec/frame_thread_encoder.c: In function 'worker': libavcodec/frame_thread_encoder.c:89:9: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_encode_video2(avctx, pkt, frame, &got_packet); ^~~ In file included from libavcodec/frame_thread_encoder.h:24, from libavcodec/frame_thread_encoder.c:23: libavcodec/avcodec.h:5419:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavcodec/mjpegdec.o libavcodec/mjpegdec.c: In function 'ff_mjpeg_decode_frame': libavcodec/mjpegdec.c:2460:21: warning: 'av_frame_set_qp_table' is deprecated [-Wdeprecated-declarations] av_frame_set_qp_table(data, qp_table_buf, 0, FF_QSCALE_TYPE_MPEG1); ^~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/avcodec.h:38, from libavcodec/mjpegdec.c:36: ./libavutil/frame.h:658:5: note: declared here int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavcodec/mpegvideo.o libavcodec/mpegvideo.c: In function 'ff_mpv_export_qp_table': libavcodec/mpegvideo.c:1455:5: warning: 'av_frame_set_qp_table' is deprecated [-Wdeprecated-declarations] return av_frame_set_qp_table(f, ref, s->mb_stride, qp_type); ^~~~~~ In file included from libavcodec/avcodec.h:38, from libavcodec/mpegvideo.c:36: ./libavutil/frame.h:658:5: note: declared here int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type); ^~~~~~~~~~~~~~~~~~~~~ [...] CC libavcodec/options.o libavcodec/options.c: In function 'codec_child_class_next': libavcodec/options.c:61:5: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations] while (prev && (c = av_codec_next(c))) ^~~~~ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:4078:10: note: declared here AVCodec *av_codec_next(const AVCodec *c); ^~~~~~~~~~~~~ libavcodec/options.c:66:5: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations] while (c = av_codec_next(c)) ^~~~~ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:4078:10: note: declared here AVCodec *av_codec_next(const AVCodec *c); ^~~~~~~~~~~~~ [...] CC libavcodec/smvjpegdec.o libavcodec/smvjpegdec.c: In function 'smvjpeg_decode_init': libavcodec/smvjpegdec.c:131:5: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] s->avctx->refcounted_frames = 1; ^ In file included from libavcodec/smvjpegdec.c:28: libavcodec/avcodec.h:2367:9: note: declared here int refcounted_frames; ^~~~~~~~~~~~~~~~~ libavcodec/smvjpegdec.c: In function 'smvjpeg_decode_frame': libavcodec/smvjpegdec.c:162:9: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_decode_video2(s->avctx, mjpeg_data, &s->mjpeg_data_size, avpkt); ^~~ In file included from libavcodec/smvjpegdec.c:28: libavcodec/avcodec.h:4788:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ [...] X86ASM libavcodec/x86/proresdsp.o STRIP libavcodec/x86/proresdsp.o /cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-strip: error: the input file 'libavcodec/x86/proresdsp.o' has no sections make: [ffbuild/common.mak:83: libavcodec/x86/proresdsp.o] Error 1 (ignored) [...] X86ASM libavcodec/x86/simple_idct10.o STRIP libavcodec/x86/simple_idct10.o /cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-strip: error: the input file 'libavcodec/x86/simple_idct10.o' has no sections make: [ffbuild/common.mak:83: libavcodec/x86/simple_idct10.o] Error 1 (ignored) [...] CC libavutil/hwcontext_d3d11va.o libavutil/hwcontext_d3d11va.c: In function 'd3d11va_transfer_data': libavutil/hwcontext_d3d11va.c:413:49: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] av_image_copy(dst->data, dst->linesize, map_data, map_linesize, ^~~~~~~~ In file included from libavutil/hwcontext_d3d11va.c:38: libavutil/imgutils.h:120:35: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} const uint8_t *src_data[4], const int src_linesizes[4], ~~~~~~~~~~~~~~~^~~~~~~~~~~ libavutil/hwcontext_d3d11va.c:425:50: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] av_image_copy(map_data, map_linesize, src->data, src->linesize, ~~~^~~~~~ In file included from libavutil/hwcontext_d3d11va.c:38: libavutil/imgutils.h:120:35: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t * const*' {aka 'unsigned char * const*'} const uint8_t *src_data[4], const int src_linesizes[4], ~~~~~~~~~~~~~~~^~~~~~~~~~~ CC libavutil/hwcontext_dxva2.o libavutil/hwcontext_dxva2.c: In function 'dxva2_transfer_data_to': libavutil/hwcontext_dxva2.c:351:48: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] av_image_copy(map->data, map->linesize, src->data, src->linesize, ~~~^~~~~~ In file included from libavutil/hwcontext_dxva2.c:33: libavutil/imgutils.h:120:35: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t * const*' {aka 'unsigned char * const*'} const uint8_t *src_data[4], const int src_linesizes[4], ~~~~~~~~~~~~~~~^~~~~~~~~~~ libavutil/hwcontext_dxva2.c: In function 'dxva2_transfer_data_from': libavutil/hwcontext_dxva2.c:382:55: warning: passing argument 3 of 'av_image_copy_uc_from' from incompatible pointer type [-Wincompatible-pointer-types] av_image_copy_uc_from(dst->data, dst_linesize, map->data, src_linesize, ~~~^~~~~~ In file included from libavutil/hwcontext_dxva2.c:33: libavutil/imgutils.h:138:43: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} const uint8_t *src_data[4], const ptrdiff_t src_linesizes[4], ~~~~~~~~~~~~~~~^~~~~~~~~~~ [...] CC fftools/ffmpeg_opt.o fftools/ffmpeg_opt.c: In function 'add_input_streams': fftools/ffmpeg_opt.c:777:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] if (st->codec->lowres) { ^~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg_opt.c:778:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->lowres = st->codec->lowres; ^~~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg_opt.c:779:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->width = st->codec->width; ^~~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg_opt.c:780:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->height = st->codec->height; ^~~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg_opt.c:781:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->coded_width = st->codec->coded_width; ^~~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg_opt.c:782:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->coded_height = st->codec->coded_height; ^~~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg_opt.c: In function 'open_output_file': fftools/ffmpeg_opt.c:2361:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] if (av_opt_set(ost->st->codec, "flags", e->value, 0) < 0) ^~ In file included from fftools/cmdutils.h:30, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ [...] CC fftools/cmdutils.o fftools/cmdutils.c: In function 'print_all_libs_info': fftools/cmdutils.c:1134:5: warning: 'avresample_version' is deprecated [-Wdeprecated-declarations] PRINT_LIB_INFO(avresample, AVRESAMPLE, flags, level); ^~~~~~~~~~~~~~ In file included from fftools/cmdutils.c:37: ./libavresample/avresample.h:148:10: note: declared here unsigned avresample_version(void); ^~~~~~~~~~~~~~~~~~ fftools/cmdutils.c:1134:5: warning: 'avresample_configuration' is deprecated [-Wdeprecated-declarations] PRINT_LIB_INFO(avresample, AVRESAMPLE, flags, level); ^~~~~~~~~~~~~~ In file included from fftools/cmdutils.c:37: ./libavresample/avresample.h:158:13: note: declared here const char *avresample_configuration(void); ^~~~~~~~~~~~~~~~~~~~~~~~ fftools/cmdutils.c: In function 'next_codec_for_id': fftools/cmdutils.c:1499:5: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations] while ((prev = av_codec_next(prev))) { ^~~~~ In file included from ./libavformat/avformat.h:319, from fftools/cmdutils.c:34: ./libavcodec/avcodec.h:4078:10: note: declared here AVCodec *av_codec_next(const AVCodec *c); ^~~~~~~~~~~~~ fftools/cmdutils.c: In function 'print_buildconf': fftools/cmdutils.c:1163:9: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(conflist, "~--", 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fftools/cmdutils.c:1169:9: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] strncpy(remove_tilde, "pkg-config ", 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC fftools/ffmpeg.o fftools/ffmpeg.c: In function 'do_streamcopy': fftools/ffmpeg.c:2073:5: warning: 'av_copy_packet_side_data' is deprecated [-Wdeprecated-declarations] av_copy_packet_side_data(&opkt, pkt); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./libavformat/avformat.h:319, from fftools/ffmpeg.c:43: ./libavcodec/avcodec.h:4423:5: note: declared here int av_copy_packet_side_data(AVPacket *dst, const AVPacket *src); ^~~~~~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.c: In function 'init_output_stream': fftools/ffmpeg.c:3544:9: warning: 'avcodec_copy_context' is deprecated [-Wdeprecated-declarations] ret = avcodec_copy_context(ost->st->codec, ost->enc_ctx); ^~~ In file included from ./libavformat/avformat.h:319, from fftools/ffmpeg.c:43: ./libavcodec/avcodec.h:4195:5: note: declared here int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src); ^~~~~~~~~~~~~~~~~~~~ fftools/ffmpeg.c:3544:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] ret = avcodec_copy_context(ost->st->codec, ost->enc_ctx); ^~~ In file included from fftools/ffmpeg.c:43: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg.c:3590:9: warning: 'codec' is deprecated [-Wdeprecated-declarations] ost->st->codec->codec= ost->enc_ctx->codec; ^~~ In file included from fftools/ffmpeg.c:43: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg.c: In function 'check_keyboard_interaction': fftools/ffmpeg.c:3971:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] debug = input_streams[0]->st->codec->debug<<1; ^~~~~ In file included from fftools/ffmpeg.c:43: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffmpeg.c:3994:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] input_streams[i]->st->codec->debug = debug; ^~~~~~~~~~~~~ In file included from fftools/ffmpeg.c:43: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ [...] CC fftools/ffprobe.o fftools/ffprobe.c: In function 'show_packet': fftools/ffprobe.c:2051:5: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] print_duration_ts("convergence_duration", pkt->convergence_duration); ^~~~~~~~~~~~~~~~~ In file included from ./libavformat/avformat.h:319, from fftools/ffprobe.c:31: ./libavcodec/avcodec.h:1481:13: note: declared here int64_t convergence_duration; ^~~~~~~~~~~~~~~~~~~~ fftools/ffprobe.c:2052:5: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] print_duration_time("convergence_duration_time", pkt->convergence_duration, &st->time_base); ^~~~~~~~~~~~~~~~~~~ In file included from ./libavformat/avformat.h:319, from fftools/ffprobe.c:31: ./libavcodec/avcodec.h:1481:13: note: declared here int64_t convergence_duration; ^~~~~~~~~~~~~~~~~~~~ fftools/ffprobe.c: In function 'show_stream': fftools/ffprobe.c:2560:9: warning: 'timecode_frame_start' is deprecated [-Wdeprecated-declarations] if (dec_ctx && dec_ctx->timecode_frame_start >= 0) { ^~ In file included from ./libavformat/avformat.h:319, from fftools/ffprobe.c:31: ./libavcodec/avcodec.h:2498:13: note: declared here int64_t timecode_frame_start; ^~~~~~~~~~~~~~~~~~~~ fftools/ffprobe.c:2562:13: warning: 'timecode_frame_start' is deprecated [-Wdeprecated-declarations] av_timecode_make_mpeg_tc_string(tcbuf, dec_ctx->timecode_frame_start); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./libavformat/avformat.h:319, from fftools/ffprobe.c:31: ./libavcodec/avcodec.h:2498:13: note: declared here int64_t timecode_frame_start; ^~~~~~~~~~~~~~~~~~~~ fftools/ffprobe.c:2626:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] if (stream->codec->rc_max_rate > 0) print_val ("max_bit_rate", stream->codec->rc_max_rate, unit_bit_per_second_str); ^~ In file included from fftools/ffprobe.c:31: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffprobe.c:1818:12: warning: 'codec' is deprecated [-Wdeprecated-declarations] struct unit_value uv; \ ^~~~~~~~~~ fftools/ffprobe.c:2626:41: note: in expansion of macro 'print_val' if (stream->codec->rc_max_rate > 0) print_val ("max_bit_rate", stream->codec->rc_max_rate, unit_bit_per_second_str); ^~~~~~~~~ In file included from fftools/ffprobe.c:31: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffprobe.c: In function 'open_input_file': fftools/ffprobe.c:2919:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->coded_width = stream->codec->coded_width; ^~~ In file included from fftools/ffprobe.c:31: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ fftools/ffprobe.c:2920:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] ist->dec_ctx->coded_height = stream->codec->coded_height; ^~~ In file included from fftools/ffprobe.c:31: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel