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:339:9: warning: ‘HAVE_PTHREAD_SETNAME_NP’ redefined
339 | #define HAVE_PTHREAD_SETNAME_NP 0
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/SDL2/SDL_config.h:51,
from /usr/include/SDL2/SDL_stdinc.h:33,
from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:31,
from libavdevice/sdl2.c:26:
/usr/include/SDL2/SDL_config_unix.h:188:9: note: this is the location of the previous definition
188 | #define HAVE_PTHREAD_SETNAME_NP 1
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:548,
from ./libavutil/common.h:40,
from libavfilter/af_afftfilt.c:23:
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));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:548,
from ./libavutil/common.h:40,
from ./libavutil/avutil.h:301,
from ./libavutil/opt.h:31,
from libavfilter/af_firequalizer.c:24:
In function ‘memset’,
inlined from ‘generate_min_phase_kernel’ at libavfilter/af_firequalizer.c:559:5,
inlined from ‘generate_kernel’ at libavfilter/af_firequalizer.c:691: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: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_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:61:
/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_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_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:25:
/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)")
| ^~~~~~~
In file included from libpostproc/postprocess_internal.h:33,
from libpostproc/postprocess.c:89:
libpostproc/postprocess_template.c: In function ‘dering_SSE2’:
libpostproc/postprocess_template.c:839:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
839 | DECLARE_ALIGNED(8, uint64_t, tmp)[3];
| ^~~~~~~~
./libavutil/mem_internal.h:85:41: note: in definition of macro ‘DECLARE_ALIGNED_T’
85 | #define DECLARE_ALIGNED_T(n,t,v) t __attribute__ ((aligned (n))) v
| ^
./libavutil/mem_internal.h:113:34: note: in expansion of macro ‘DECLARE_ALIGNED_8’
113 | #define DECLARE_ALIGNED_V(n,t,v) DECLARE_ALIGNED_##n(t,v)
| ^~~~~~~~~~~~~~~~
./libavutil/mem_internal.h:109:32: note: in expansion of macro ‘DECLARE_ALIGNED_V’
109 | #define DECLARE_ALIGNED(n,t,v) DECLARE_ALIGNED_V(n,t,v)
| ^~~~~~~~~~~~~~~~~
libpostproc/postprocess_template.c:839:5: note: in expansion of macro ‘DECLARE_ALIGNED’
839 | DECLARE_ALIGNED(8, uint64_t, tmp)[3];
| ^~~~~~~~~~~~~~~
libavformat/asfdec_f.c: In function ‘get_tag’:
libavformat/asfdec_f.c:244:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
244 | int ret = ffio_read_size(s->pb, value, len);
| ^~~
libavformat/avidec.c: In function ‘read_gab2_sub’:
libavformat/avidec.c:1129:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
1129 | AVIOContext *pb = avio_alloc_context(pkt->data + 7,
| ^~~~~~~~~~~
libavformat/dashenc.c: In function ‘dash_init’:
libavformat/dashenc.c:1577:65: warning: ‘-stream’ directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1577 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name);
| ^~~~~~~
libavformat/dashenc.c:1577:62: note: directive argument in the range [0, 2147483647]
1577 | snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
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:1577:17:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 1042) into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function ‘dash_init’:
libavformat/dashenc.c:1581:49: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1581 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile);
| ^~
In function ‘snprintf’,
inlined from ‘dash_init’ at libavformat/dashenc.c:1581:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function ‘flush_init_segment’:
libavformat/dashenc.c:594:49: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
594 | snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile);
| ^~
In function ‘snprintf’,
inlined from ‘flush_init_segment’ at libavformat/dashenc.c:594:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function ‘write_hls_media_playlist’:
libavformat/dashenc.c:488:49: warning: ‘media_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
488 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id);
| ^~~~~~
In function ‘snprintf’,
inlined from ‘get_hls_playlist_name’ at libavformat/dashenc.c:488:9,
inlined from ‘write_hls_media_playlist’ at libavformat/dashenc.c:524:5:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 13 and 1046 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/demux.c: In function ‘read_frame_internal’:
libavformat/demux.c:1374:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
1374 | int new_extradata = !!av_packet_side_data_get(pkt->side_data, pkt->side_data_elems,
| ^~~
libavformat/dashenc.c: In function ‘dash_flush’:
libavformat/dashenc.c:1957:63: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1957 | 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:1957:13:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function ‘dash_flush’:
libavformat/dashenc.c:1957:63: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
1957 | 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:1957:13:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function ‘dash_write_trailer’:
libavformat/dashenc.c:488:49: warning: ‘media_’ directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
488 | 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:2320:17:
libavformat/dashenc.c:488:46: note: directive argument in the range [0, 2147483647]
488 | snprintf(playlist_name, string_size, "%smedia_%d.m3u8", base_url, id);
| ^~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘get_hls_playlist_name’ at libavformat/dashenc.c:488:9,
inlined from ‘dash_write_trailer’ at libavformat/dashenc.c:2320:17:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 13 and 1045 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function ‘dash_write_packet’:
libavformat/dashenc.c:2254:59: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
2254 | snprintf(os->full_path, sizeof(os->full_path), "%s%s", c->dirname,
| ^~
In function ‘snprintf’,
inlined from ‘dash_write_packet’ at libavformat/dashenc.c:2254:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 1 and 2047 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __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:970,
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:68:10: note: ‘__builtin___snprintf_chk’ output between 5 and 1028 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/lrcdec.c: In function ‘read_ts’:
libavformat/lrcdec.c:91:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
91 | int ret = sscanf(p, "%2[[-]%"SCNu32":%lf]", prefix, &mm, &ss);
| ^~~
libavformat/matroskaenc.c: In function ‘mkv_write_trailer’:
libavformat/matroskaenc.c:3341: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=]
3341 | snprintf(duration_string, sizeof(duration_string), "%02d:%02d:%012.9f",
| ^~~~~~~
In file included from /usr/include/stdio.h:970,
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:3341:17:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 19 and 333 bytes into a destination of size 20
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/rtsp.c: In function ‘ff_rtsp_make_setup_request’:
libavformat/rtsp.c:1592:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
1592 | "Transport: %s\r\n",
| ^~
1593 | transport);
| ~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from ./libavutil/common.h:38,
from ./libavutil/avutil.h:301,
from ./libavutil/opt.h:31,
from libavformat/rtsp.c:34:
In function ‘snprintf’,
inlined from ‘ff_rtsp_make_setup_request’ at libavformat/rtsp.c:1591:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 14 and 4109 bytes into a destination of size 4096
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c: In function ‘ism_flush’:
libavformat/smoothstreamingenc.c:512:49: warning: ‘/temp’ directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
512 | snprintf(filename, sizeof(filename), "%s/temp", os->dirname);
| ^~~~~
In file included from /usr/include/stdio.h:970,
from libavformat/avformat.h:310,
from libavformat/smoothstreamingenc.c:27:
In function ‘snprintf’,
inlined from ‘ism_flush’ at libavformat/smoothstreamingenc.c:512:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 6 and 1029 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c: In function ‘ism_flush’:
libavformat/smoothstreamingenc.c:540:53: warning: ‘/temp’ directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
540 | snprintf(filename, sizeof(filename), "%s/temp", os->dirname);
| ^~~~~
In function ‘snprintf’,
inlined from ‘ism_flush’ at libavformat/smoothstreamingenc.c:540:13:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 6 and 1029 bytes into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c: In function ‘ism_flush’:
libavformat/smoothstreamingenc.c:547:63: warning: ‘/FragmentInfo(’ directive output may be truncated writing 14 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
547 | 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:547:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 18 or more bytes (assuming 1041) into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c: In function ‘ism_flush’:
libavformat/smoothstreamingenc.c:548:63: warning: ‘/Fragments(’ directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
548 | 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:548:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 1038) into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __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:970,
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:68:10: note: ‘__builtin___snprintf_chk’ output between 4 and 11 bytes into a destination of size 4
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __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:68:10: note: ‘__builtin___snprintf_chk’ output between 13 and 21 bytes into a destination of size 13
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libavcodec/aac/aacdec.c: In function ‘decode_close’:
libavcodec/aac/aacdec.c:1132:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
1132 | AACUSACConfig *usac = &oc->usac;
| ^~~~~~~~~~~~~
libavcodec/aac_ac3_parser.c: In function ‘ff_aac_ac3_parse’:
libavcodec/aac_ac3_parser.c:151:17: warning: unused variable ‘profile’ [-Wunused-variable]
151 | int profile;
| ^~~~~~~
In file included from libavcodec/aacsbr.c:383:
libavcodec/aacsbr_template.c: In function ‘read_sbr_grid’:
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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 9
106 | uint8_t t_env[9];
| ^~~~~
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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 9
106 | uint8_t t_env[9];
| ^~~~~
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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 9
106 | uint8_t t_env[9];
| ^~~~~
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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, 4294967292] into destination object ‘t_env’ of size 9
106 | uint8_t t_env[9];
| ^~~~~
In file included from libavcodec/aacsbr_fixed.c:610:
libavcodec/aacsbr_template.c: In function ‘read_sbr_grid’:
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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 9
106 | uint8_t t_env[9];
| ^~~~~
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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 9
106 | uint8_t t_env[9];
| ^~~~~
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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 9
106 | uint8_t t_env[9];
| ^~~~~
libavcodec/aacsbr_template.c:729:57: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
729 | ch_data->t_env[ch_data->bs_num_env - 1 - i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
730 | 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, -4] into destination object ‘t_env’ of size 9
106 | uint8_t t_env[9];
| ^~~~~
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)
| ^~~~~~~~~~~~~~~~
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)
| ^~~~~~~~~~~~~~~~
libavcodec/cri.c: In function ‘cri_decode_frame’:
libavcodec/cri.c:224:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
224 | int read_len = FFMIN(length, sizeof(codec_name) - 1);
| ^~~
libavcodec/dxv.c: In function ‘dxv_decompress_opcodes’:
libavcodec/dxv.c:280:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
280 | int read_size = bytestream2_get_buffer(gb, dstp, op_size);
| ^~~
libavcodec/dxv.c: In function ‘dxv_decode’:
libavcodec/dxv.c:979:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
979 | unsigned old_size = ctx->tex_data_size;
| ^~~~~~~~
libavcodec/hevc/hevcdec.c: In function ‘pred_weight_table’:
libavcodec/hevc/hevcdec.c:199:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
199 | luma_weight_l0_flag[i] = get_bits1(gb);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:177:13: note: at offset 16 into destination object ‘luma_weight_l0_flag’ of size 16
177 | uint8_t luma_weight_l0_flag[16];
| ^~~~~~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:207:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
207 | chroma_weight_l0_flag[i] = get_bits1(gb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:178:13: note: at offset 16 into destination object ‘chroma_weight_l0_flag’ of size 16
178 | uint8_t chroma_weight_l0_flag[16];
| ^~~~~~~~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:243:36: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
243 | luma_weight_l1_flag[i] = get_bits1(gb);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:179:13: note: at offset 16 into destination object ‘luma_weight_l1_flag’ of size 16
179 | uint8_t luma_weight_l1_flag[16];
| ^~~~~~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:251:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
251 | chroma_weight_l1_flag[i] = get_bits1(gb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
libavcodec/hevc/hevcdec.c:180:13: note: at offset 16 into destination object ‘chroma_weight_l1_flag’ of size 16
180 | uint8_t chroma_weight_l1_flag[16];
| ^~~~~~~~~~~~~~~~~~~~~
libavcodec/jpeg2000dec.c: In function ‘get_siz’:
libavcodec/jpeg2000dec.c:285:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
285 | int cdef_used = 0;
| ^~~
libavcodec/jpeg2000dec.c:305:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
305 | int i_remapped = s->cdef[i] ? s->cdef[i]-1 : (s->ncomponents-1);
| ^~~
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/lzf.c: In function ‘ff_lzf_uncompress’:
libavcodec/lzf.c:73:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
73 | int s2 = bytestream2_get_buffer(gb, p, s);
| ^~~
libavcodec/mpc8.c: In function ‘mpc8_decode_init’:
libavcodec/mpc8.c:158:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
158 | uint8_t sample_rate_idx = get_bits(&gb, 3);
| ^~~~~~~
libavcodec/pcm.c: In function ‘pcm_decode_init’:
libavcodec/pcm.c:287:5: warning: ‘sample_fmts’ is deprecated [-Wdeprecated-declarations]
287 | avctx->sample_fmt = avctx->codec->sample_fmts[0];
| ^~~~~
In file included from libavcodec/avcodec.h:41,
from libavcodec/pcm.c:34:
libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
libavcodec/sbcenc.c: In function ‘sbc_encode_init’:
libavcodec/sbcenc.c:263:5: warning: ‘supported_samplerates’ is deprecated [-Wdeprecated-declarations]
263 | for (int i = 0; avctx->codec->supported_samplerates[i]; i++)
| ^~~
In file included from libavcodec/avcodec.h:41,
from libavcodec/sbcenc.c:36:
libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
libavcodec/sbcenc.c:264:9: warning: ‘supported_samplerates’ is deprecated [-Wdeprecated-declarations]
264 | if (avctx->sample_rate == avctx->codec->supported_samplerates[i])
| ^~
libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
libavcodec/sga.c: In function ‘decode_palmapdata’:
libavcodec/sga.c:257:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
257 | int ret;
| ^~~
libavcodec/sga.c: In function ‘decode_tiledata’:
libavcodec/sga.c:282:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
282 | int ret;
| ^~~
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 ‘vlc_multi_gen’ at libavcodec/vlc.c:508:5,
inlined from ‘ff_vlc_init_multi_from_lengths’ at libavcodec/vlc.c:564:11:
libavcodec/vlc.c:443:36: warning: array subscript 3 is above array bounds of ‘uint16_t[3]’ {aka ‘short unsigned int[3]’} [-Warray-bounds=]
443 | if (is16bit) info.val16[curlevel] = sym;
| ~~~~~~~~~~^~~~~~~~~~
In file included from libavcodec/vlc.c:39:
libavcodec/vlc.h: In function ‘ff_vlc_init_multi_from_lengths’:
libavcodec/vlc.h:45:18: note: while referencing ‘val16’
45 | uint16_t val16[VLC_MULTI_MAX_SYMBOLS / 2];
| ^~~~~
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:
libavcodec/vlc.c:443:36: warning: array subscript 4 is above array bounds of ‘uint16_t[3]’ {aka ‘short unsigned int[3]’} [-Warray-bounds=]
443 | if (is16bit) info.val16[curlevel] = sym;
| ~~~~~~~~~~^~~~~~~~~~
libavcodec/vlc.h: In function ‘ff_vlc_init_multi_from_lengths’:
libavcodec/vlc.h:45:18: note: while referencing ‘val16’
45 | uint16_t val16[VLC_MULTI_MAX_SYMBOLS / 2];
| ^~~~~
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:
libavcodec/vlc.c:443:36: warning: array subscript 5 is above array bounds of ‘uint16_t[3]’ {aka ‘short unsigned int[3]’} [-Warray-bounds=]
443 | if (is16bit) info.val16[curlevel] = sym;
| ~~~~~~~~~~^~~~~~~~~~
libavcodec/vlc.h: In function ‘ff_vlc_init_multi_from_lengths’:
libavcodec/vlc.h:45:18: note: while referencing ‘val16’
45 | uint16_t val16[VLC_MULTI_MAX_SYMBOLS / 2];
| ^~~~~
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_config.h:51,
from /usr/include/SDL2/SDL_stdinc.h:33,
from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:31,
from fftools/ffplay_renderer.h:22,
from fftools/ffplay_renderer.c:23:
/usr/include/SDL2/SDL_config_unix.h:188:9: warning: ‘HAVE_PTHREAD_SETNAME_NP’ redefined
188 | #define HAVE_PTHREAD_SETNAME_NP 1
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from fftools/ffplay_renderer.c:22:
./config.h:339:9: note: this is the location of the previous definition
339 | #define HAVE_PTHREAD_SETNAME_NP 0
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/SDL2/SDL_config.h:51,
from /usr/include/SDL2/SDL_stdinc.h:33,
from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:31,
from fftools/ffplay.c:54:
/usr/include/SDL2/SDL_config_unix.h:188:9: warning: ‘HAVE_PTHREAD_SETNAME_NP’ redefined
188 | #define HAVE_PTHREAD_SETNAME_NP 1
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from fftools/ffplay.c:26:
./config.h:339:9: note: this is the location of the previous definition
339 | #define HAVE_PTHREAD_SETNAME_NP 0
| ^~~~~~~~~~~~~~~~~~~~~~~