In file included from ./libavutil/common.h:48, from ./libavutil/avutil.h:301, from ./libavutil/opt.h:31, from libavdevice/sdl2.c:31: ./config.h:335: warning: "HAVE_PTHREAD_SETNAME_NP" redefined 335 | #define HAVE_PTHREAD_SETNAME_NP 0 | In file included from /usr/include/SDL2/SDL_stdinc.h:31, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from libavdevice/sdl2.c:26: /usr/include/SDL2/SDL_config.h:209: note: this is the location of the previous definition 209 | #define HAVE_PTHREAD_SETNAME_NP 1 | In file included from /usr/include/string.h:535, from ./libavutil/common.h:40, from ./libavutil/avutil.h:301, from ./libavfilter/avfilter.h:41, from ./libavfilter/internal.h:28, from libavfilter/af_afftfilt.c:22: In function ‘memmove’, inlined from ‘filter_channel’ at libavfilter/af_afftfilt.c:297:9: /usr/include/bits/string_fortified.h:36:10: warning: ‘__builtin_memmove’ specified bound between 18446744065119617024 and 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ libavfilter/af_channelsplit.c: In function ‘filter_frame’: libavfilter/af_channelsplit.c:161:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 161 | AVFrame *buf_out = av_frame_clone(buf); | ^~~~~~~ In file included from /usr/include/string.h:535, from ./libavutil/common.h:40, from ./libavutil/avutil.h:301, from ./libavutil/opt.h:31, from libavfilter/af_firequalizer.c:23: In function ‘memset’, inlined from ‘generate_min_phase_kernel’ at libavfilter/af_firequalizer.c:558:5, inlined from ‘generate_kernel’ at libavfilter/af_firequalizer.c:690:13: /usr/include/bits/string_fortified.h:59:10: warning: ‘__builtin_memset’ specified bound between 18446744069414584316 and 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/opencl.c:26: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_avgblur_opencl.c:30: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_colorkey_opencl.c:22: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_convolution_opencl.c:34: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_deshake_opencl.c:62: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_neighbor_opencl.c:32: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_nlmeans_opencl.c:29: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_overlay_opencl.c:26: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_pad_opencl.c:26: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_program_opencl.c:30: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_remap_opencl.c:28: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_tonemap_opencl.c:28: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_transpose_opencl.c:27: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_unsharp_opencl.c:27: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from ./libavutil/hwcontext_opencl.h:25, from libavfilter/opencl.h:31, from libavfilter/vf_xfade_opencl.c:26: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ In file included from /usr/include/CL/cl.h:20, from libavutil/hwcontext_opencl.h:25, from libavutil/hwcontext_opencl.c:30: /usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)") | ^~~~~~~ libavformat/dashenc.c: In function ‘dash_init’: libavformat/dashenc.c:1576:65: warning: ‘-stream’ directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 1576 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name); | ^~~~~~~ libavformat/dashenc.c:1576:62: note: directive argument in the range [0, 2147483647] 1576 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:894, from ./libavutil/common.h:38, from ./libavutil/avutil.h:301, from libavformat/dashenc.c:31: In function ‘snprintf’, inlined from ‘dash_init’ at libavformat/dashenc.c:1576:17: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 1042) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/dashenc.c: In function ‘dash_init’: libavformat/dashenc.c:1580:49: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 1580 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile); | ^~ In function ‘snprintf’, inlined from ‘dash_init’ at libavformat/dashenc.c:1580:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/dashenc.c: In function ‘flush_init_segment’: libavformat/dashenc.c:593:49: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 593 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile); | ^~ In function ‘snprintf’, inlined from ‘flush_init_segment’ at libavformat/dashenc.c:593:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/dashenc.c: In function ‘write_hls_media_playlist’: libavformat/dashenc.c:487:49: warning: ‘media_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 487 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id); | ^~~~~~ In function ‘snprintf’, inlined from ‘get_hls_playlist_name’ at libavformat/dashenc.c:487:9, inlined from ‘write_hls_media_playlist’ at libavformat/dashenc.c:523:5: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 13 and 1046 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/dashenc.c: In function ‘dash_flush’: libavformat/dashenc.c:1956:63: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 1956 | snprintf(os->full_path, sizeof(os->full_path), "%s%s", c->dirname, os->initfile); | ^~ In function ‘snprintf’, inlined from ‘dash_flush’ at libavformat/dashenc.c:1956:13: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/dashenc.c: In function ‘dash_write_trailer’: libavformat/dashenc.c:487:49: warning: ‘media_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 487 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id); | ^~~~~~ In function ‘get_hls_playlist_name’, inlined from ‘dash_write_trailer’ at libavformat/dashenc.c:2319:17: libavformat/dashenc.c:487:46: note: directive argument in the range [0, 2147483647] 487 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id); | ^~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘get_hls_playlist_name’ at libavformat/dashenc.c:487:9, inlined from ‘dash_write_trailer’ at libavformat/dashenc.c:2319:17: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 13 and 1045 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/dashenc.c: In function ‘dash_write_packet’: libavformat/dashenc.c:2253:59: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 2253 | snprintf(os->full_path, sizeof(os->full_path), "%s%s", c->dirname, | ^~ In function ‘snprintf’, inlined from ‘dash_write_packet’ at libavformat/dashenc.c:2253:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/img2enc.c: In function ‘write_packet’: libavformat/img2enc.c:183:55: warning: ‘.tmp’ directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 183 | snprintf(img->tmp[i], sizeof(img->tmp[i]), "%s.tmp", filename); | ^~~~ In file included from /usr/include/stdio.h:894, from ./libavutil/common.h:38, from ./libavutil/avutil.h:301, from ./libavutil/opt.h:31, from libavformat/img2enc.c:31: In function ‘snprintf’, inlined from ‘write_packet’ at libavformat/img2enc.c:183:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 5 and 1028 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/matroskaenc.c: In function ‘mkv_write_trailer’: libavformat/matroskaenc.c:3303:79: warning: ‘%012.9f’ directive output may be truncated writing between 12 and 320 bytes into a region of size between 8 and 14 [-Wformat-truncation=] 3303 | snprintf(duration_string, sizeof(duration_string), "%02d:%02d:%012.9f", | ^~~~~~~ In file included from /usr/include/stdio.h:894, from libavformat/avio.h:30, from libavformat/av1.h:26, from libavformat/matroskaenc.c:26: In function ‘snprintf’, inlined from ‘mkv_write_trailer’ at libavformat/matroskaenc.c:3303:17: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 19 and 333 bytes into a destination of size 20 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/rtsp.c: In function ‘ff_rtsp_make_setup_request’: libavformat/rtsp.c:1591:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] 1591 | "Transport: %s\r\n", | ^~ 1592 | transport); | ~~~~~~~~~ In file included from /usr/include/stdio.h:894, from ./libavutil/common.h:38, from ./libavutil/avutil.h:301, from ./libavutil/opt.h:31, from libavformat/rtsp.c:33: In function ‘snprintf’, inlined from ‘ff_rtsp_make_setup_request’ at libavformat/rtsp.c:1590:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 14 and 4109 bytes into a destination of size 4096 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/smoothstreamingenc.c: In function ‘ism_flush’: libavformat/smoothstreamingenc.c:509:49: warning: ‘/temp’ directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 509 | snprintf(filename, sizeof(filename), "%s/temp", os->dirname); | ^~~~~ In file included from /usr/include/stdio.h:894, from libavformat/avformat.h:310, from libavformat/smoothstreamingenc.c:27: In function ‘snprintf’, inlined from ‘ism_flush’ at libavformat/smoothstreamingenc.c:509:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 6 and 1029 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/smoothstreamingenc.c: In function ‘ism_flush’: libavformat/smoothstreamingenc.c:537:53: warning: ‘/temp’ directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 537 | snprintf(filename, sizeof(filename), "%s/temp", os->dirname); | ^~~~~ In function ‘snprintf’, inlined from ‘ism_flush’ at libavformat/smoothstreamingenc.c:537:13: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 6 and 1029 bytes into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/smoothstreamingenc.c: In function ‘ism_flush’: libavformat/smoothstreamingenc.c:544:63: warning: ‘/FragmentInfo(’ directive output may be truncated writing 14 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 544 | snprintf(header_filename, sizeof(header_filename), "%s/FragmentInfo(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts); | ^~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘ism_flush’ at libavformat/smoothstreamingenc.c:544:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 18 or more bytes (assuming 1041) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/smoothstreamingenc.c: In function ‘ism_flush’: libavformat/smoothstreamingenc.c:545:63: warning: ‘/Fragments(’ directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 545 | snprintf(target_filename, sizeof(target_filename), "%s/Fragments(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts); | ^~~~~~~~~~~ In function ‘snprintf’, inlined from ‘ism_flush’ at libavformat/smoothstreamingenc.c:545:9: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 1038) into a destination of size 1024 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/vorbiscomment.c: In function ‘ff_vorbiscomment_write’: libavformat/vorbiscomment.c:103:63: warning: ‘%03d’ directive output may be truncated writing between 3 and 10 bytes into a region of size 4 [-Wformat-truncation=] 103 | snprintf(chapter_number, sizeof(chapter_number), "%03d", i); | ^~~~ libavformat/vorbiscomment.c:103:62: note: directive argument in the range [0, 2147483647] 103 | snprintf(chapter_number, sizeof(chapter_number), "%03d", i); | ^~~~~~ In file included from /usr/include/stdio.h:894, from libavformat/avio.h:30, from libavformat/vorbiscomment.c:22: In function ‘snprintf’, inlined from ‘ff_vorbiscomment_write’ at libavformat/vorbiscomment.c:103:13: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 4 and 11 bytes into a destination of size 4 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libavformat/vorbiscomment.c: In function ‘ff_vorbiscomment_write’: libavformat/vorbiscomment.c:104:69: warning: ‘%02d’ directive output may be truncated writing between 2 and 3 bytes into a region of size between 1 and 7 [-Wformat-truncation=] 104 | snprintf(chapter_time, sizeof(chapter_time), "%02d:%02d:%02d.%03d", h, m, s, ms); | ^~~~ libavformat/vorbiscomment.c:104:58: note: directive argument in the range [-59, 59] 104 | snprintf(chapter_time, sizeof(chapter_time), "%02d:%02d:%02d.%03d", h, m, s, ms); | ^~~~~~~~~~~~~~~~~~~~~ libavformat/vorbiscomment.c:104:58: note: directive argument in the range [-999, 999] In function ‘snprintf’, inlined from ‘ff_vorbiscomment_write’ at libavformat/vorbiscomment.c:104:13: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 13 and 21 bytes into a destination of size 13 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from libavcodec/aacsbr.c:387: libavcodec/aacsbr_template.c: In function ‘read_sbr_grid’: libavcodec/aacsbr_template.c:711:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | ch_data->t_env[ch_data->bs_num_env - 1 - i] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 712 | ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/aacsbr.c:31: libavcodec/sbr.h:106:24: note: at offset [2147483649, 4294967295] into destination object ‘t_env’ of size 8 106 | uint8_t t_env[8]; | ^~~~~ libavcodec/aacsbr_template.c:711:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | ch_data->t_env[ch_data->bs_num_env - 1 - i] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 712 | ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/sbr.h:106:24: note: at offset [2147483649, 4294967294] into destination object ‘t_env’ of size 8 106 | uint8_t t_env[8]; | ^~~~~ libavcodec/aacsbr_template.c:711:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | ch_data->t_env[ch_data->bs_num_env - 1 - i] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 712 | ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/sbr.h:106:24: note: at offset [2147483649, 4294967293] into destination object ‘t_env’ of size 8 106 | uint8_t t_env[8]; | ^~~~~ In file included from libavcodec/ac3dec_float.c:38: In function ‘spx_strategy’, inlined from ‘decode_audio_block’ at libavcodec/ac3dec.c:1142:24: libavcodec/ac3dec.c:854:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 854 | s->channel_uses_spx[ch] = get_bits1(bc); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from libavcodec/ac3dec_float.c:34: libavcodec/ac3dec.h: In function ‘decode_audio_block’: libavcodec/ac3dec.h:144:13: note: at offset 7 into destination object ‘channel_uses_spx’ of size 7 144 | uint8_t channel_uses_spx[AC3_MAX_CHANNELS]; ///< channel uses spectral extension (chinspx) | ^~~~~~~~~~~~~~~~ In file included from libavcodec/aacsbr_fixed.c:610: libavcodec/aacsbr_template.c: In function ‘read_sbr_grid’: libavcodec/aacsbr_template.c:711:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | ch_data->t_env[ch_data->bs_num_env - 1 - i] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 712 | ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/aacsbr_fixed.c:60: libavcodec/sbr.h:106:24: note: at offset [-2147483647, -1] into destination object ‘t_env’ of size 8 106 | uint8_t t_env[8]; | ^~~~~ libavcodec/aacsbr_template.c:711:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | ch_data->t_env[ch_data->bs_num_env - 1 - i] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 712 | ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/sbr.h:106:24: note: at offset [-2147483647, -2] into destination object ‘t_env’ of size 8 106 | uint8_t t_env[8]; | ^~~~~ libavcodec/aacsbr_template.c:711:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 711 | ch_data->t_env[ch_data->bs_num_env - 1 - i] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 712 | ch_data->t_env[ch_data->bs_num_env - i] - 2 * get_bits(gb, 2) - 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/sbr.h:106:24: note: at offset [-2147483647, -3] into destination object ‘t_env’ of size 8 106 | uint8_t t_env[8]; | ^~~~~ In file included from libavcodec/ac3dec_fixed.c:156: In function ‘spx_strategy’, inlined from ‘decode_audio_block’ at libavcodec/ac3dec.c:1142:24: libavcodec/ac3dec.c:854:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 854 | s->channel_uses_spx[ch] = get_bits1(bc); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from libavcodec/ac3dec_fixed.c:51: libavcodec/ac3dec.h: In function ‘decode_audio_block’: libavcodec/ac3dec.h:144:13: note: at offset 7 into destination object ‘channel_uses_spx’ of size 7 144 | uint8_t channel_uses_spx[AC3_MAX_CHANNELS]; ///< channel uses spectral extension (chinspx) | ^~~~~~~~~~~~~~~~ libavcodec/hevcdec.c: In function ‘pred_weight_table’: libavcodec/hevcdec.c:175:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 175 | luma_weight_l0_flag[i] = get_bits1(gb); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/hevcdec.c:153:13: note: at offset 16 into destination object ‘luma_weight_l0_flag’ of size 16 153 | uint8_t luma_weight_l0_flag[16]; | ^~~~~~~~~~~~~~~~~~~ libavcodec/hevcdec.c:183:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 183 | chroma_weight_l0_flag[i] = get_bits1(gb); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/hevcdec.c:154:13: note: at offset 16 into destination object ‘chroma_weight_l0_flag’ of size 16 154 | uint8_t chroma_weight_l0_flag[16]; | ^~~~~~~~~~~~~~~~~~~~~ libavcodec/hevcdec.c:219:36: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 219 | luma_weight_l1_flag[i] = get_bits1(gb); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/hevcdec.c:155:13: note: at offset 16 into destination object ‘luma_weight_l1_flag’ of size 16 155 | uint8_t luma_weight_l1_flag[16]; | ^~~~~~~~~~~~~~~~~~~ libavcodec/hevcdec.c:227:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 227 | chroma_weight_l1_flag[i] = get_bits1(gb); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/hevcdec.c:156:13: note: at offset 16 into destination object ‘chroma_weight_l1_flag’ of size 16 156 | uint8_t chroma_weight_l1_flag[16]; | ^~~~~~~~~~~~~~~~~~~~~ libavcodec/jrevdct.c:215:28: warning: argument 1 of type ‘int16_t[64]’ {aka ‘short int[64]’} with mismatched bound [-Warray-parameter=] 215 | void ff_j_rev_dct(DCTBLOCK data) | ~~~~~~~~~^~~~ In file included from libavcodec/jrevdct.c:70: libavcodec/dct.h:30:28: note: previously declared as ‘int16_t *’ {aka ‘short int *’} 30 | void ff_j_rev_dct(int16_t *data); | ~~~~~~~~~^~~~ libavcodec/jrevdct.c:953:29: warning: argument 1 of type ‘int16_t[64]’ {aka ‘short int[64]’} with mismatched bound [-Warray-parameter=] 953 | void ff_j_rev_dct4(DCTBLOCK data) | ~~~~~~~~~^~~~ libavcodec/dct.h:31:29: note: previously declared as ‘int16_t *’ {aka ‘short int *’} 31 | void ff_j_rev_dct4(int16_t *data); | ~~~~~~~~~^~~~ libavcodec/jrevdct.c:1140:29: warning: argument 1 of type ‘int16_t[64]’ {aka ‘short int[64]’} with mismatched bound [-Warray-parameter=] 1140 | void ff_j_rev_dct2(DCTBLOCK data){ | ~~~~~~~~~^~~~ libavcodec/dct.h:32:29: note: previously declared as ‘int16_t *’ {aka ‘short int *’} 32 | void ff_j_rev_dct2(int16_t *data); | ~~~~~~~~~^~~~ libavcodec/jrevdct.c:1155:29: warning: argument 1 of type ‘int16_t[64]’ {aka ‘short int[64]’} with mismatched bound [-Warray-parameter=] 1155 | void ff_j_rev_dct1(DCTBLOCK data){ | ~~~~~~~~~^~~~ libavcodec/dct.h:33:29: note: previously declared as ‘int16_t *’ {aka ‘short int *’} 33 | void ff_j_rev_dct1(int16_t *data); | ~~~~~~~~~^~~~ libavcodec/libopenjpegenc.c: In function ‘mj2_create_image’: libavcodec/libopenjpegenc.c:256:9: warning: ‘bpp’ is deprecated: Use prec instead [-Wdeprecated-declarations] 256 | cmptparm[i].bpp = desc->comp[i].depth; | ^~~~~~~~ In file included from libavcodec/libopenjpegenc.c:34: /usr/include/openjpeg-2.5/openjpeg.h:752:45: note: declared here 752 | OPJ_DEPRECATED_STRUCT_MEMBER(OPJ_UINT32 bpp, "Use prec instead"); | ^~~ /usr/include/openjpeg-2.5/openjpeg.h:80:83: note: in definition of macro ‘OPJ_DEPRECATED_STRUCT_MEMBER’ 80 | #define OPJ_DEPRECATED_STRUCT_MEMBER(memb, msg) __attribute__ ((deprecated(msg))) memb | ^~~~ libavcodec/tiff.c: In function ‘horizontal_fill’: libavcodec/tiff.c:424:17: warning: unused variable ‘ret’ [-Wunused-variable] 424 | int ret = init_get_bits8(&gb, src, width); | ^~~ libavcodec/tiff.c: In function ‘unpack_gray’: libavcodec/tiff.c:459:9: warning: unused variable ‘ret’ [-Wunused-variable] 459 | int ret = init_get_bits8(&gb, src, width); | ^~~ In file included from libavcodec/vlc.c:33: In function ‘add_level’, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘vlc_multi_gen’ at libavcodec/vlc.c:508:5, inlined from ‘ff_vlc_init_multi_from_lengths’ at libavcodec/vlc.c:564:11: ./libavutil/intreadwrite.h:223:63: warning: array subscript 4 is outside array bounds of ‘VLC_MULTI_ELEM[1]’ [-Warray-bounds=] 223 | # define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./libavutil/intreadwrite.h:370:26: note: in expansion of macro ‘AV_WN’ 370 | # define AV_WN16(p, v) AV_WN(16, p, v) | ^~~~~ libavcodec/vlc.c:443:26: note: in expansion of macro ‘AV_WN16’ 443 | if (is16bit) AV_WN16(info.val+2*curlevel, sym); | ^~~~~~~ libavcodec/vlc.c: In function ‘ff_vlc_init_multi_from_lengths’: libavcodec/vlc.c:517:5: note: at offset 8 into object ‘info’ of size 8 517 | int ff_vlc_init_multi_from_lengths(VLC *vlc, VLC_MULTI *multi, int nb_bits, int nb_elems, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘add_level’, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘add_level’ at libavcodec/vlc.c:457:17, inlined from ‘vlc_multi_gen’ at libavcodec/vlc.c:508:5, inlined from ‘ff_vlc_init_multi_from_lengths’ at libavcodec/vlc.c:564:11: ./libavutil/intreadwrite.h:223:63: warning: array subscript 5 is outside array bounds of ‘VLC_MULTI_ELEM[1]’ [-Warray-bounds=] 223 | # define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./libavutil/intreadwrite.h:370:26: note: in expansion of macro ‘AV_WN’ 370 | # define AV_WN16(p, v) AV_WN(16, p, v) | ^~~~~ libavcodec/vlc.c:443:26: note: in expansion of macro ‘AV_WN16’ 443 | if (is16bit) AV_WN16(info.val+2*curlevel, sym); | ^~~~~~~ libavcodec/vlc.c: In function ‘ff_vlc_init_multi_from_lengths’: libavcodec/vlc.c:517:5: note: at offset 10 into object ‘info’ of size 8 517 | int ff_vlc_init_multi_from_lengths(VLC *vlc, VLC_MULTI *multi, int nb_bits, int nb_elems, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/wmadec.c: In function ‘wma_decode_block’: libavcodec/wmadec.c:519:30: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 519 | s->channel_coded[ch] = a; | ~~~~~~~~~~~~~~~~~~~~~^~~ In file included from libavcodec/wmadec.c:45: libavcodec/wma.h:112:13: note: at offset 2 into destination object ‘channel_coded’ of size 2 112 | uint8_t channel_coded[MAX_CHANNELS]; ///< true if channel is coded | ^~~~~~~~~~~~~ In file included from /usr/include/SDL2/SDL_stdinc.h:31, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from fftools/ffplay_renderer.h:22, from fftools/ffplay_renderer.c:23: /usr/include/SDL2/SDL_config.h:209: warning: "HAVE_PTHREAD_SETNAME_NP" redefined 209 | #define HAVE_PTHREAD_SETNAME_NP 1 | In file included from fftools/ffplay_renderer.c:22: ./config.h:335: note: this is the location of the previous definition 335 | #define HAVE_PTHREAD_SETNAME_NP 0 | In file included from /usr/include/SDL2/SDL_stdinc.h:31, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from fftools/ffplay.c:57: /usr/include/SDL2/SDL_config.h:209: warning: "HAVE_PTHREAD_SETNAME_NP" redefined 209 | #define HAVE_PTHREAD_SETNAME_NP 1 | In file included from fftools/ffplay.c:26: ./config.h:335: note: this is the location of the previous definition 335 | #define HAVE_PTHREAD_SETNAME_NP 0 |