[FFmpeg-devel] [PATCH] configure: enable warnings for shadowed variables

Timo Rothenpieler timo at rothenpieler.org
Sun Sep 8 00:03:52 EEST 2024


On 07.09.2024 21:07, Michael Niedermayer wrote:
> On Sat, Sep 07, 2024 at 08:52:41PM +0200, Timo Rothenpieler wrote:
>> These can easily lead to incredibly confusing errors, and should
>> practically never happen.
>> I'd have loved to make this a -Werror even, but sadly there is way too
>> many instances in the codebase right now that first needs to be weeded
>> out.
>> ---
>>   configure | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/configure b/configure
>> index a8e67d230c..547b67565d 100755
>> --- a/configure
>> +++ b/configure
>> @@ -7406,6 +7406,7 @@ check_cflags -Wundef
>>   check_cflags -Wmissing-prototypes
>>   check_cflags -Wstrict-prototypes
>>   check_cflags -Wempty-body
>> +check_cflags -Wshadow
> 
> can you provide a list of warnings this produces ?

List is attached.
-------------- next part --------------
libavfilter/af_acontrast.c: In function ‘filter_flt’:
libavfilter/af_acontrast.c:55:19: warning: declaration of ‘d’ shadows a parameter [-Wshadow]
   55 |             float d = src[c] * M_PI_2;
      |                   ^
libavfilter/af_acontrast.c:45:31: note: shadowed declaration is here
   45 | static void filter_flt(void **d, const void **s,
      |                        ~~~~~~~^
libavfilter/af_acontrast.c: In function ‘filter_dbl’:
libavfilter/af_acontrast.c:75:20: warning: declaration of ‘d’ shadows a parameter [-Wshadow]
   75 |             double d = src[c] * M_PI_2;
      |                    ^
libavfilter/af_acontrast.c:65:31: note: shadowed declaration is here
   65 | static void filter_dbl(void **d, const void **s,
      |                        ~~~~~~~^
libavfilter/af_acontrast.c: In function ‘filter_fltp’:
libavfilter/af_acontrast.c:96:19: warning: declaration of ‘d’ shadows a parameter [-Wshadow]
   96 |             float d = src[n] * M_PI_2;
      |                   ^
libavfilter/af_acontrast.c:85:32: note: shadowed declaration is here
   85 | static void filter_fltp(void **d, const void **s,
      |                         ~~~~~~~^
libavfilter/af_acontrast.c: In function ‘filter_dblp’:
libavfilter/af_acontrast.c:114:20: warning: declaration of ‘d’ shadows a parameter [-Wshadow]
  114 |             double d = src[n] * M_PI_2;
      |                    ^
libavfilter/af_acontrast.c:103:32: note: shadowed declaration is here
  103 | static void filter_dblp(void **d, const void **s,
      |                         ~~~~~~~^
--
libavfilter/af_aap.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_aap.c:124:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  124 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_aap.c:124:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  124 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_adelay.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_adelay.c:376:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  376 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_acrossover.c: In function ‘activate’:
libavfilter/af_adeclick.c:451:24: warning: declaration of ‘index’ shadows a parameter [-Wshadow]
  451 |         const unsigned index = fmin(fabs(src[i]), 1) * (s->nb_hbins - 1);
      |                        ^~~~~
libavfilter/af_adeclick.c:436:45: note: shadowed declaration is here
  436 |                         uint8_t *clip, int *index,
      |                                        ~~~~~^~~~~
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_acrossover.c:569:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  569 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |                 ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_acrossover.c:569:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  569 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_adeclick.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_adeclick.c:663:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  663 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_adrc.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_adrc.c:408:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  408 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_afade.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_afade.c:558:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  558 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_afftfilt.c: In function ‘config_input’:
libavfilter/af_afftfilt.c:118:14: warning: declaration of ‘ch’ shadows a previous local [-Wshadow]
  118 |     for (int ch = 0; ch < s->channels; ch++) {
      |              ^~
libavfilter/af_afftfilt.c:106:18: note: shadowed declaration is here
  106 |     int ret = 0, ch;
      |                  ^~
libavfilter/af_afftfilt.c:124:14: warning: declaration of ‘ch’ shadows a previous local [-Wshadow]
  124 |     for (int ch = 0; ch < s->channels; ch++) {
      |              ^~
libavfilter/af_afftfilt.c:106:18: note: shadowed declaration is here
  106 |     int ret = 0, ch;
      |                  ^~
--
libavfilter/af_afftdn.c: In function ‘config_input’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_afftfilt.c:376:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  376 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_aecho.c: In function ‘activate’:
libavfilter/af_afftdn.c:828:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  828 |         for (int i = 0; i < s->number_of_bands; i++) {
      |                  ^
libavfilter/af_afftfilt.c:373:9: note: shadowed declaration is here
  373 |     int ret = 0, status;
      |         ^~~
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_aecho.c:307:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  307 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/af_afftdn.c:837:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  837 |         for (int i = 0; i < s->buffer_length; i++)
      |                  ^
libavfilter/af_afftdn.c:636:9: note: shadowed declaration is here
  636 |     int i, j, k, m, n, ret, tx_type;
      |         ^
libavfilter/af_afftdn.c:841:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  841 |         for (int i = 0; i < s->number_of_bands; i++)
      |                  ^
libavfilter/af_afftdn.c:636:9: note: shadowed declaration is here
  636 |     int i, j, k, m, n, ret, tx_type;
      |         ^
libavfilter/af_afftdn.c:842:22: warning: declaration of ‘k’ shadows a previous local [-Wshadow]
  842 |             for (int k = 0; k < s->number_of_bands; k++)
      |                      ^
libavfilter/af_afftdn.c:636:15: note: shadowed declaration is here
  636 |     int i, j, k, m, n, ret, tx_type;
      |               ^
libavfilter/af_afftdn.c:848:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  848 |     for (int i = 0; i < s->bin_count; i++) {
      |              ^
libavfilter/af_afftdn.c:636:9: note: shadowed declaration is here
  636 |     int i, j, k, m, n, ret, tx_type;
      |         ^
libavfilter/af_afftdn.c:864:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  864 |     for (int i = 0; i < s->window_length; i++) {
      |              ^
libavfilter/af_afftdn.c:636:9: note: shadowed declaration is here
  636 |     int i, j, k, m, n, ret, tx_type;
      |         ^
libavfilter/af_afftdn.c:887:14: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  887 |     for (int j = 1; j < NB_PROFILE_BANDS + 1; j++) {
      |              ^
libavfilter/af_afftdn.c:636:12: note: shadowed declaration is here
  636 |     int i, j, k, m, n, ret, tx_type;
      |            ^
--
libavfilter/af_afftdn.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_afftdn.c:1277:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1277 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_afwtdn.c: In function ‘conv_down’:
libavfilter/af_afwtdn.c:479:16: warning: declaration of ‘thigh’ shadows a previous local [-Wshadow]
  479 |         double thigh = 0.0, tlow = 0.0;
      |                ^~~~~
libavfilter/af_afwtdn.c:472:12: note: shadowed declaration is here
  472 |     double thigh = 0.0, tlow = 0.0;
      |            ^~~~~
libavfilter/af_afwtdn.c:479:29: warning: declaration of ‘tlow’ shadows a previous local [-Wshadow]
  479 |         double thigh = 0.0, tlow = 0.0;
      |                             ^~~~
libavfilter/af_afwtdn.c:472:25: note: shadowed declaration is here
  472 |     double thigh = 0.0, tlow = 0.0;
      |                         ^~~~
libavfilter/af_afwtdn.c: In function ‘reallocate_inputs’:
libavfilter/af_afwtdn.c:528:19: warning: declaration of ‘temp_length’ shadows a previous local [-Wshadow]
  528 |         const int temp_length = nb_coefs(in_length, level + 1, sn);
      |                   ^~~~~~~~~~~
libavfilter/af_afwtdn.c:525:15: note: shadowed declaration is here
  525 |     const int temp_length = nb_coefs(in_length, levels, sn);
      |               ^~~~~~~~~~~
--
libavfilter/af_afwtdn.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_afwtdn.c:1211:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1211 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_agate.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_agate.c:254:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  254 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_agate.c:254:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  254 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/afir_template.c: In function ‘fir_quantum_float’:
libavfilter/afir_template.c:200:26: warning: declaration of ‘blockout’ shadows a previous local [-Wshadow]
  200 |             const ftype *blockout = (const ftype *)seg->blockout->extended_data[ch] + input_partition * seg->block_size;
      |                          ^~~~~~~~
libavfilter/afir_template.c:141:12: note: shadowed declaration is here
  141 |     ftype *blockout, *ptr = (ftype *)out->extended_data[ch] + offset;
      |            ^~~~~~~~
--
libavfilter/afir_template.c: In function ‘fir_quantum_double’:
libavfilter/afir_template.c:200:26: warning: declaration of ‘blockout’ shadows a previous local [-Wshadow]
  200 |             const ftype *blockout = (const ftype *)seg->blockout->extended_data[ch] + input_partition * seg->block_size;
      |                          ^~~~~~~~
libavfilter/afir_template.c:141:12: note: shadowed declaration is here
  141 |     ftype *blockout, *ptr = (ftype *)out->extended_data[ch] + offset;
      |            ^~~~~~~~
--
libavfilter/af_afir.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_afir.c:483:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  483 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_amerge.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_amerge.c:285:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  285 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_amerge.c:285:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  285 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_amultiply.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_amultiply.c:48:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
   48 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_amultiply.c:48:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
   48 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_aiir.c: In function ‘iir_ch_lattice_s16p’:
libavfilter/af_aiir.c:311:22: warning: declaration of ‘in’ shadows a previous local [-Wshadow]
  311 |         const double in = src[n] * ig;                                  \
      |                      ^~
libavfilter/af_aiir.c:342:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  342 | LATTICE_IIR_CH(s16p, int16_t, INT16_MIN, INT16_MAX, 1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavfilter/af_aiir.c:312:16: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
  312 |         double out = 0.;                                                \
      |                ^~~
libavfilter/af_aiir.c:342:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  342 | LATTICE_IIR_CH(s16p, int16_t, INT16_MIN, INT16_MAX, 1)
      | ^~~~~~~~~~~~~~
--
libavfilter/af_aiir.c: In function ‘iir_ch_lattice_s32p’:
libavfilter/af_aiir.c:311:22: warning: declaration of ‘in’ shadows a previous local [-Wshadow]
  311 |         const double in = src[n] * ig;                                  \
      |                      ^~
libavfilter/af_aiir.c:343:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  343 | LATTICE_IIR_CH(s32p, int32_t, INT32_MIN, INT32_MAX, 1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavfilter/af_aiir.c:312:16: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
  312 |         double out = 0.;                                                \
      |                ^~~
libavfilter/af_aiir.c:343:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  343 | LATTICE_IIR_CH(s32p, int32_t, INT32_MIN, INT32_MAX, 1)
      | ^~~~~~~~~~~~~~
--
libavfilter/af_aiir.c: In function ‘iir_ch_lattice_fltp’:
libavfilter/af_aiir.c:311:22: warning: declaration of ‘in’ shadows a previous local [-Wshadow]
  311 |         const double in = src[n] * ig;                                  \
      |                      ^~
libavfilter/af_aiir.c:344:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  344 | LATTICE_IIR_CH(fltp, float,         -1.,        1., 0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavfilter/af_aiir.c:312:16: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
  312 |         double out = 0.;                                                \
      |                ^~~
libavfilter/af_aiir.c:344:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  344 | LATTICE_IIR_CH(fltp, float,         -1.,        1., 0)
      | ^~~~~~~~~~~~~~
--
libavfilter/af_aiir.c: In function ‘iir_ch_lattice_dblp’:
libavfilter/af_aiir.c:311:22: warning: declaration of ‘in’ shadows a previous local [-Wshadow]
  311 |         const double in = src[n] * ig;                                  \
      |                      ^~
libavfilter/af_aiir.c:345:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  345 | LATTICE_IIR_CH(dblp, double,        -1.,        1., 0)
      | ^~~~~~~~~~~~~~
--
libavfilter/af_amix.c: In function ‘activate’:
libavfilter/af_aiir.c:312:16: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
  312 |         double out = 0.;                                                \
      |                ^~~
libavfilter/af_aiir.c:345:1: note: in expansion of macro ‘LATTICE_IIR_CH’
  345 | LATTICE_IIR_CH(dblp, double,        -1.,        1., 0)
      | ^~~~~~~~~~~~~~
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_amix.c:443:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  443 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_amix.c:443:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  443 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_anlmdn.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_anlmdn.c:303:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  303 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_aiir.c: In function ‘get_response’:
libavfilter/af_aiir.c:1089:43: warning: declaration of ‘format’ shadows a global declaration [-Wshadow]
 1089 | static void get_response(int channel, int format, double w,
      |                                       ~~~~^~~~~~
libavfilter/af_aiir.c:444:26: note: shadowed declaration is here
  444 | static const char *const format[] = { "%lf", "%lf %lfi", "%lf %lfr", "%lf %lfd", "%lf %lfi" };
      |                          ^~~~~~
--
libavfilter/af_anlms.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_anlms.c:116:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  116 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_anlms.c:116:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  116 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_aiir.c: In function ‘filter_frame’:
libavfilter/af_aiir.c:1411:23: warning: declaration of ‘outlink’ shadows a previous local [-Wshadow]
 1411 |         AVFilterLink *outlink = ctx->outputs[1];
      |                       ^~~~~~~
libavfilter/af_aiir.c:1380:19: note: shadowed declaration is here
 1380 |     AVFilterLink *outlink = ctx->outputs[0];
      |                   ^~~~~~~
--
libavfilter/af_apsyclip.c: In function ‘feed’:
libavfilter/af_apsyclip.c:457:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  457 |         for (int i = 0; i < s->fft_size; i++)
      |                  ^
libavfilter/af_apsyclip.c:437:14: note: shadowed declaration is here
  437 |     for (int i = 0; i < s->iterations; i++) {
      |              ^
libavfilter/af_apsyclip.c:461:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  461 |         for (int i = 0; i < s->fft_size; i++)
      |                  ^
libavfilter/af_apsyclip.c:437:14: note: shadowed declaration is here
  437 |     for (int i = 0; i < s->iterations; i++) {
      |              ^
libavfilter/af_apsyclip.c:488:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  488 |         for (int i = 0; i < s->fft_size / 2 + 1; i++)
      |                  ^
libavfilter/af_apsyclip.c:437:14: note: shadowed declaration is here
  437 |     for (int i = 0; i < s->iterations; i++) {
      |              ^
--
libavfilter/af_apsyclip.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_apsyclip.c:581:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  581 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_arls.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_arls.c:113:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  113 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_arls.c:113:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  113 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/arls_template.c: In function ‘process_sample_float’:
libavfilter/arls_template.c:90:25: warning: declaration of ‘pos’ shadows a previous local [-Wshadow]
   90 |         for (int k = 0, pos = offset; k < order; k++, pos++)
      |                         ^~~
libavfilter/arls_template.c:86:21: note: shadowed declaration is here
   86 |     for (int i = 0, pos = offset; i < order; i++, pos++) {
      |                     ^~~
--
libavfilter/arls_template.c: In function ‘process_sample_double’:
libavfilter/arls_template.c:90:25: warning: declaration of ‘pos’ shadows a previous local [-Wshadow]
   90 |         for (int k = 0, pos = offset; k < order; k++, pos++)
      |                         ^~~
CC	libavfilter/af_asoftclip.o
libavfilter/arls_template.c:86:21: note: shadowed declaration is here
   86 |     for (int i = 0, pos = offset; i < order; i++, pos++) {
--
libavfilter/af_asetnsamples.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_asetnsamples.c:60:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
   60 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_asdr.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_asdr.c:153:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  153 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/af_arnndn.c:1110:23: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1110 |                 float tmp;
      |                       ^~~
libavfilter/af_arnndn.c:1032:11: note: shadowed declaration is here
 1032 |     float tmp[NB_BANDS];
      |           ^~~
--
libavfilter/af_arnndn.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_arnndn.c:1456:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1456 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
CC	libavfilter/af_channelsplit.o
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_aspectralstats.c:554:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  554 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_axcorrelate.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_axcorrelate.c:271:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  271 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_channelsplit.c: In function ‘init’:
libavfilter/af_channelsplit.c:95:18: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
   95 |             char buf[128];
      |                  ^~~
libavfilter/af_channelsplit.c:81:14: note: shadowed declaration is here
   81 |         char buf[64];
      |              ^~~
--
libavfilter/af_channelsplit.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_channelsplit.c:184:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  184 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |                 ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_channelsplit.c:184:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  184 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_biquads.c: In function ‘config_filter’:
libavfilter/af_biquads.c:863:20: warning: declaration of ‘A’ shadows a previous local [-Wshadow]
  863 |             double A = ff_exp10(gain / 20);
      |                    ^
libavfilter/af_biquads.c:802:12: note: shadowed declaration is here
  802 |     double A = ff_exp10(gain / 40);
      |            ^
libavfilter/af_biquads.c:889:20: warning: declaration of ‘A’ shadows a previous local [-Wshadow]
  889 |             double A = ff_exp10(gain / 20);
      |                    ^
libavfilter/af_biquads.c:802:12: note: shadowed declaration is here
  802 |     double A = ff_exp10(gain / 40);
      |            ^
libavfilter/af_channelmap.c: In function ‘channelmap_init’:
libavfilter/af_channelmap.c:276:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  276 |         int i;
      |             ^
libavfilter/af_channelmap.c:152:9: note: shadowed declaration is here
  152 |     int i;
      |         ^
--
libavfilter/af_biquads.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_biquads.c:1374:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1374 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/af_biquads.c:1393:22: warning: declaration of ‘in’ shadows a previous local [-Wshadow]
 1393 |             AVFrame *in = ff_get_audio_buffer(outlink, s->block_samples);
      |                      ^~
libavfilter/af_biquads.c:1369:14: note: shadowed declaration is here
 1369 |     AVFrame *in = NULL;
      |              ^~
--
libavfilter/af_crossfeed.c: In function ‘filter_frame’:
libavfilter/af_crossfeed.c:189:23: warning: declaration of ‘src’ shadows a previous local [-Wshadow]
  189 |         const double *src = (const double *)in->data[0];
      |                       ^~~
libavfilter/af_crossfeed.c:138:19: note: shadowed declaration is here
  138 |     const double *src = (const double *)in->data[0];
      |                   ^~~
--
libavfilter/af_crossfeed.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_crossfeed.c:285:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  285 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/af_crossfeed.c:304:22: warning: declaration of ‘in’ shadows a previous local [-Wshadow]
  304 |             AVFrame *in = ff_get_audio_buffer(outlink, s->block_samples);
      |                      ^~
libavfilter/af_crossfeed.c:280:14: note: shadowed declaration is here
  280 |     AVFrame *in = NULL;
      |              ^~
--
libavfilter/af_dialoguenhance.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_dialoguenhance.c:165:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  165 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_earwax.c: In function ‘scalarproduct’:
libavfilter/af_earwax.c:102:53: warning: declaration of ‘filt’ shadows a global declaration [-Wshadow]
  102 |                                      const int16_t *filt, int16_t *out)
      |                                      ~~~~~~~~~~~~~~~^~~~
libavfilter/af_earwax.c:40:21: note: shadowed declaration is here
   40 | static const int8_t filt[NUMTAPS * 2] = {
      |                     ^~~~
libavfilter/af_dynaudnorm.c: In function ‘filter_frame’:
libavfilter/af_dynaudnorm.c:847:18: warning: declaration of ‘in’ shadows a parameter [-Wshadow]
  847 |         AVFrame *in = ff_bufqueue_get(&s->queue);
      |                  ^~
libavfilter/af_dynaudnorm.c:836:56: note: shadowed declaration is here
  836 | static int filter_frame(AVFilterLink *inlink, AVFrame *in)
      |                                               ~~~~~~~~~^~
--
libavfilter/af_dynaudnorm.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_dynaudnorm.c:944:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  944 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_headphone.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_headphone.c:547:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  547 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_headphone.c:547:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  547 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_headphone.c: In function ‘init’:
libavfilter/af_headphone.c:683:21: warning: declaration of ‘pad’ shadows a previous local [-Wshadow]
  683 |         AVFilterPad pad = {
      |                     ^~~
libavfilter/af_headphone.c:666:17: note: shadowed declaration is here
  666 |     AVFilterPad pad = {
      |                 ^~~
--
libavfilter/af_loudnorm.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_loudnorm.c:687:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  687 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_join.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_join.c:551:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  551 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_join.c:551:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  551 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_sidechaincompress.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_sidechaincompress.c:241:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  241 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/af_sidechaincompress.c:241:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  241 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_silenceremove.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_silenceremove.c:424:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  424 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_speechnorm.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_speechnorm.c:491:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  491 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_superequalizer.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_superequalizer.c:254:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  254 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/af_surround.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/af_surround.c:1351:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1351 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_a3dscope.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_a3dscope.c:304:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  304 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_abitscope.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_abitscope.c:282:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  282 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_ahistogram.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_ahistogram.c:456:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  456 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_avectorscope.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_avectorscope.c:446:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  446 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_aphasemeter.c: In function ‘query_formats’:
libavfilter/avf_aphasemeter.c:118:23: warning: declaration of ‘outlink’ shadows a previous local [-Wshadow]
  118 |         AVFilterLink *outlink = ctx->outputs[1];
      |                       ^~~~~~~
libavfilter/avf_aphasemeter.c:99:19: note: shadowed declaration is here
   99 |     AVFilterLink *outlink = ctx->outputs[0];
      |                   ^~~~~~~
--
libavfilter/avf_aphasemeter.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_aphasemeter.c:364:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  364 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_aphasemeter.c:366:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  366 |         FF_FILTER_FORWARD_STATUS_BACK(ctx->outputs[1], inlink);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_showcwt.c: In function ‘run_channel_cwt_prepare’:
libavfilter/avf_showcwt.c:356:19: warning: declaration of ‘offset’ shadows a previous local [-Wshadow]
  356 |         const int offset = s->hop_size - fin->nb_samples;
      |                   ^~~~~~
libavfilter/avf_showcwt.c:352:15: note: shadowed declaration is here
  352 |     const int offset = (s->input_padding_size - hop_size) >> 1;
      |               ^~~~~~
libavfilter/avf_showcwt.c: In function ‘draw’:
libavfilter/avf_showcwt.c:571:27: warning: declaration of ‘nb_channels’ shadows a previous local [-Wshadow]
  571 |                 const int nb_channels = s->nb_channels;
      |                           ^~~~~~~~~~~
libavfilter/avf_showcwt.c:460:15: note: shadowed declaration is here
  460 |     const int nb_channels = s->nb_channels;
      |               ^~~~~~~~~~~
--
CC	libavfilter/avfiltergraph.o
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showspatial.c:262:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  262 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_showcwt.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showcwt.c:1251:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1251 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_showcqt.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showcqt.c:1575:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1575 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_showfreqs.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showfreqs.c:508:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  508 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_showspectrum.c: In function ‘run_channel_fft’:
libavfilter/avf_showspectrum.c:428:18: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  428 |         for (int n = 0; n < M; n++) {
      |                  ^
libavfilter/avf_showspectrum.c:399:9: note: shadowed declaration is here
  399 |     int n;
      |         ^
libavfilter/avf_showspectrum.c:433:18: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  433 |         for (int n = M; n < L; n++) {
      |                  ^
libavfilter/avf_showspectrum.c:399:9: note: shadowed declaration is here
  399 |     int n;
      |         ^
libavfilter/avf_showspectrum.c:438:18: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  438 |         for (int n = L - N; n < L; n++) {
      |                  ^
libavfilter/avf_showspectrum.c:399:9: note: shadowed declaration is here
  399 |     int n;
      |         ^
libavfilter/avf_showspectrum.c:443:18: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  443 |         for (int n = N; n < L; n++) {
      |                  ^
libavfilter/avf_showspectrum.c:399:9: note: shadowed declaration is here
  399 |     int n;
      |         ^
libavfilter/avf_showspectrum.c:448:18: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  448 |         for (int n = 0; n < N; n++) {
      |                  ^
libavfilter/avf_showspectrum.c:399:9: note: shadowed declaration is here
  399 |     int n;
      |         ^
libavfilter/avf_showspectrum.c:464:18: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  464 |         for (int n = 0; n < L; n++) {
      |                  ^
libavfilter/avf_showspectrum.c:399:9: note: shadowed declaration is here
  399 |     int n;
      |         ^
libavfilter/avf_showspectrum.c: In function ‘draw_legend’:
libavfilter/avf_showspectrum.c:967:19: warning: declaration of ‘text’ shadows a previous local [-Wshadow]
  967 |             char *text;
      |                   ^~~~
libavfilter/avf_showspectrum.c:789:11: note: shadowed declaration is here
  789 |     char *text;
      |           ^~~~
libavfilter/avf_showspectrum.c: In function ‘config_output’:
libavfilter/avf_showspectrum.c:1278:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1278 |         int ret = av_parse_video_rate(&s->frame_rate, s->rate_str);
      |             ^~~
libavfilter/avf_showspectrum.c:1067:28: note: shadowed declaration is here
 1067 |     int i, fft_size, h, w, ret;
      |                            ^~~
--
libavfilter/avf_showspectrum.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showspectrum.c:1603:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
 1603 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/avf_showvolume.c: In function ‘filter_frame’:
libavfilter/avf_showvolume.c:430:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  430 |             int ret = av_channel_name(channel_name, sizeof(channel_name), av_channel_layout_channel_from_index(&inlink->ch_layout, c));
      |                 ^~~
libavfilter/avf_showvolume.c:325:28: note: shadowed declaration is here
  325 |     int c, j, k, max_draw, ret;
      |                            ^~~
libavfilter/avf_showvolume.c:435:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |             int ret = av_channel_name(channel_name, sizeof(channel_name), av_channel_layout_channel_from_index(&inlink->ch_layout, c));
      |                 ^~~
libavfilter/avf_showvolume.c:325:28: note: shadowed declaration is here
  325 |     int c, j, k, max_draw, ret;
      |                            ^~~
--
libavfilter/avfiltergraph.c: In function ‘query_formats’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showvolume.c:466:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  466 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavfilter/avfiltergraph.c:512:33: warning: declaration of ‘filter’ shadows a previous local [-Wshadow]
  512 |                 const AVFilter *filter;
      |                                 ^~~~~~
libavfilter/avf_showvolume.c:464:9: note: shadowed declaration is here
  464 |     int ret;
      |         ^~~
--
libavfilter/avf_showwaves.c: In function ‘push_frame’:
libavfilter/avf_showwaves.c:580:14: warning: declaration of ‘i’ shadows a parameter [-Wshadow]
  580 |     for (int i = 0; i < nb_channels; i++)
      |              ^
libavfilter/avf_showwaves.c:564:57: note: shadowed declaration is here
  564 | inline static int push_frame(AVFilterLink *outlink, int i, int64_t pts)
      |                                                     ~~~~^
--
libavfilter/avf_showwaves.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/avf_showwaves.c:782:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  782 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/drawutils.c: In function ‘ff_draw_color’:
libavfilter/drawutils.c:169:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  169 |     for (int i = 0; i < 4; i++)
      |              ^
libavfilter/drawutils.c:159:14: note: shadowed declaration is here
  159 |     unsigned i;
      |              ^
libavfilter/drawutils.c:179:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  179 |     for (int i = 0; i < 3; i++) {
      |              ^
libavfilter/drawutils.c:159:14: note: shadowed declaration is here
  159 |     unsigned i;
      |              ^
--
libavfilter/f_ebur128.c: In function ‘config_video_output’:
libavfilter/f_ebur128.c:350:14: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  350 |     for (int y = 0; y < ebur128->h; y++)
      |              ^
libavfilter/f_ebur128.c:294:15: note: shadowed declaration is here
  294 |     int i, x, y;
      |               ^
libavfilter/f_ebur128.c: In function ‘filter_frame’:
libavfilter/f_ebur128.c:642:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  642 |         int ret = swr_convert(ebur128->swr_ctx, (uint8_t**)&ebur128->swr_buf, 19200,
      |             ^~~
libavfilter/f_ebur128.c:631:30: note: shadowed declaration is here
  631 |     int i, ch, idx_insample, ret;
      |                              ^~~
libavfilter/f_ebur128.c:715:9: warning: declaration of ‘ch’ shadows a previous local [-Wshadow]
  715 |     int ch;                                                      \
      |         ^~
libavfilter/f_ebur128.c:725:9: note: in expansion of macro ‘FIND_PEAK’
  725 |         FIND_PEAK(ebur128->sample_peak, ebur128->sample_peaks, SAMPLES);
      |         ^~~~~~~~~
--
      |            ^~
libavfilter/f_ebur128.c:715:9: warning: declaration of ‘ch’ shadows a previous local [-Wshadow]
  715 |     int ch;                                                      \
      |         ^~
libavfilter/f_ebur128.c:726:9: note: in expansion of macro ‘FIND_PEAK’
  726 |         FIND_PEAK(ebur128->true_peak,   ebur128->true_peaks,   TRUE);
      |         ^~~~~~~~~
--
libavfilter/f_ebur128.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/f_ebur128.c:979:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  979 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/f_ebur128.c:981:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  981 |         FF_FILTER_FORWARD_STATUS_BACK(voutlink, inlink);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/f_interleave.c: In function ‘activate’:
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/f_interleave.c:73:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
   73 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/f_loop.c: In function ‘aactivate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/f_loop.c:245:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  245 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/f_segment.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/f_segment.c:195:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  195 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/f_segment.c:195:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  195 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/formats.c: In function ‘merge_formats_internal’:
libavfilter/formats.c:63:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   63 |     int i, j, k = 0, skip = 0;                                             \
      |         ^
libavfilter/formats.c:131:5: note: in expansion of macro ‘MERGE_FORMATS’
  131 |     MERGE_FORMATS(a, b, formats, nb_formats, AVFilterFormats, check, 0);
      |     ^~~~~~~~~~~~~
--
      |         ^
libavfilter/formats.c:63:12: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
   63 |     int i, j, k = 0, skip = 0;                                             \
      |            ^
libavfilter/formats.c:131:5: note: in expansion of macro ‘MERGE_FORMATS’
  131 |     MERGE_FORMATS(a, b, formats, nb_formats, AVFilterFormats, check, 0);
      |     ^~~~~~~~~~~~~
--
      |            ^
libavfilter/formats.c:37:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   37 |     int i;                                                                 \
      |         ^
libavfilter/formats.c:91:5: note: in expansion of macro ‘MERGE_REF’
   91 |     MERGE_REF(a, b, fmts, type, return AVERROR(ENOMEM););                  \
      |     ^~~~~~~~~
--
libavfilter/formats.c: In function ‘merge_samplerates_internal’:
libavfilter/formats.c:37:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   37 |     int i;                                                                 \
      |         ^
libavfilter/formats.c:91:5: note: in expansion of macro ‘MERGE_REF’
   91 |     MERGE_REF(a, b, fmts, type, return AVERROR(ENOMEM););                  \
      |     ^~~~~~~~~
--
libavfilter/formats.c: In function ‘merge_channel_layouts_internal’:
libavfilter/formats.c:37:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   37 |     int i;                                                                 \
      |         ^
libavfilter/formats.c:244:9: note: in expansion of macro ‘MERGE_REF’
  244 |         MERGE_REF(b, a, channel_layouts, AVFilterChannelLayouts, return AVERROR(ENOMEM););
      |         ^~~~~~~~~
--
      |                              ^
libavfilter/formats.c:37:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   37 |     int i;                                                                 \
      |         ^
libavfilter/formats.c:305:5: note: in expansion of macro ‘MERGE_REF’
  305 |     MERGE_REF(b, a, channel_layouts, AVFilterChannelLayouts,
      |     ^~~~~~~~~
--
libavfilter/formats.c: In function ‘merge_generic_internal’:
libavfilter/formats.c:37:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   37 |     int i;                                                                 \
      |         ^
libavfilter/formats.c:91:5: note: in expansion of macro ‘MERGE_REF’
   91 |     MERGE_REF(a, b, fmts, type, return AVERROR(ENOMEM););                  \
      |     ^~~~~~~~~
--
libavfilter/framesync.c: In function ‘ff_framesync_activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/framesync.c:358:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  358 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/setpts.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/setpts.c:254:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  254 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/settb.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/settb.c:144:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  144 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/src_movie.c: In function ‘process_command’:
libavfilter/src_movie.c:637:18: warning: declaration of ‘flags’ shadows a parameter [-Wshadow]
  637 |         int idx, flags, i;
      |                  ^~~~~
libavfilter/src_movie.c:631:56: note: shadowed declaration is here
  631 |                            char *res, int res_len, int flags)
      |                                                    ~~~~^~~~~
--
libavfilter/vaf_spectrumsynth.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vaf_spectrumsynth.c:463:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  463 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |            ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/vaf_spectrumsynth.c:463:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  463 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_blurdetect.c: In function ‘calculate_blur’:
libavfilter/vf_blurdetect.c:244:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  244 |     for (int i = 0; i < blkcnt; i++) {
      |              ^
libavfilter/vf_blurdetect.c:202:9: note: shadowed declaration is here
  202 |     int i, j;
      |         ^
libavfilter/vf_bm3d.c: In function ‘basic_block_filtering’:
libavfilter/vf_bm3d.c:406:19: warning: declaration of ‘y’ shadows a parameter [-Wshadow]
  406 |         const int y = sc->match_blocks[k].y;
      |                   ^
libavfilter/vf_bm3d.c:386:39: note: shadowed declaration is here
  386 |                                   int y, int x, int plane, int jobnr)
      |                                   ~~~~^
libavfilter/vf_bm3d.c:407:19: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  407 |         const int x = sc->match_blocks[k].x;
      |                   ^
libavfilter/vf_bm3d.c:386:46: note: shadowed declaration is here
  386 |                                   int y, int x, int plane, int jobnr)
      |                                          ~~~~^
libavfilter/vf_bm3d.c: In function ‘final_block_filtering’:
libavfilter/vf_bm3d.c:523:19: warning: declaration of ‘y’ shadows a parameter [-Wshadow]
  523 |         const int y = sc->match_blocks[k].y;
      |                   ^
libavfilter/vf_bm3d.c:500:39: note: shadowed declaration is here
  500 |                                   int y, int x, int plane, int jobnr)
      |                                   ~~~~^
libavfilter/vf_bm3d.c:524:19: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  524 |         const int x = sc->match_blocks[k].x;
      |                   ^
libavfilter/vf_bm3d.c:500:46: note: shadowed declaration is here
  500 |                                   int y, int x, int plane, int jobnr)
      |                                          ~~~~^
libavfilter/vf_bm3d.c: In function ‘config_input’:
libavfilter/vf_bm3d.c:799:19: warning: declaration of ‘iscale’ shadows a previous local [-Wshadow]
  799 |             float iscale = 0.5f / s->group_size;
      |                   ^~~~~~
libavfilter/vf_bm3d.c:781:15: note: shadowed declaration is here
  781 |         float iscale = 0.5f / s->block_size;
      |               ^~~~~~
--
libavfilter/vf_bm3d.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_bm3d.c:855:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  855 |         FF_FILTER_FORWARD_STATUS_BACK(ctx->outputs[0], ctx->inputs[0]);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |             ^~~
libavfilter/vf_cas.c:85:21: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
   85 |                 int h = src[y1 * in_linesize + x];
      |                     ^
libavfilter/vf_cas.c:61:19: note: shadowed declaration is here
   61 |         const int h = s->planeheight[p];
      |                   ^
libavfilter/vf_cas.c: In function ‘cas_slice16’:
libavfilter/vf_cas.c:152:21: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  152 |                 int h = src[y1 * in_linesize + x];
      |                     ^
libavfilter/vf_cas.c:128:19: note: shadowed declaration is here
  128 |         const int h = s->planeheight[p];
      |                   ^
libavfilter/vf_chromanr.c: In function ‘manhattan_slice8’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:180:1: note: in expansion of macro ‘FILTER_FUNC’
  180 | FILTER_FUNC(manhattan, 8,  int, uint8_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:180:1: note: in expansion of macro ‘FILTER_FUNC’
  180 | FILTER_FUNC(manhattan, 8,  int, uint8_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:180:1: note: in expansion of macro ‘FILTER_FUNC’
  180 | FILTER_FUNC(manhattan, 8,  int, uint8_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:180:1: note: in expansion of macro ‘FILTER_FUNC’
  180 | FILTER_FUNC(manhattan, 8,  int, uint8_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:180:1: note: in expansion of macro ‘FILTER_FUNC’
  180 | FILTER_FUNC(manhattan, 8,  int, uint8_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:180:1: note: in expansion of macro ‘FILTER_FUNC’
  180 | FILTER_FUNC(manhattan, 8,  int, uint8_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘manhattan_slice16’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:181:1: note: in expansion of macro ‘FILTER_FUNC’
  181 | FILTER_FUNC(manhattan, 16, int, uint16_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:181:1: note: in expansion of macro ‘FILTER_FUNC’
  181 | FILTER_FUNC(manhattan, 16, int, uint16_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:181:1: note: in expansion of macro ‘FILTER_FUNC’
  181 | FILTER_FUNC(manhattan, 16, int, uint16_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:181:1: note: in expansion of macro ‘FILTER_FUNC’
  181 | FILTER_FUNC(manhattan, 16, int, uint16_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:181:1: note: in expansion of macro ‘FILTER_FUNC’
  181 | FILTER_FUNC(manhattan, 16, int, uint16_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:181:1: note: in expansion of macro ‘FILTER_FUNC’
  181 | FILTER_FUNC(manhattan, 16, int, uint16_t, MANHATTAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘euclidean_slice8’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:183:1: note: in expansion of macro ‘FILTER_FUNC’
  183 | FILTER_FUNC(euclidean, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:183:1: note: in expansion of macro ‘FILTER_FUNC’
  183 | FILTER_FUNC(euclidean, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:183:1: note: in expansion of macro ‘FILTER_FUNC’
  183 | FILTER_FUNC(euclidean, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:183:1: note: in expansion of macro ‘FILTER_FUNC’
  183 | FILTER_FUNC(euclidean, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:183:1: note: in expansion of macro ‘FILTER_FUNC’
  183 | FILTER_FUNC(euclidean, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:183:1: note: in expansion of macro ‘FILTER_FUNC’
  183 | FILTER_FUNC(euclidean, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘euclidean_slice16’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:184:1: note: in expansion of macro ‘FILTER_FUNC’
  184 | FILTER_FUNC(euclidean, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:184:1: note: in expansion of macro ‘FILTER_FUNC’
  184 | FILTER_FUNC(euclidean, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:184:1: note: in expansion of macro ‘FILTER_FUNC’
  184 | FILTER_FUNC(euclidean, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:184:1: note: in expansion of macro ‘FILTER_FUNC’
  184 | FILTER_FUNC(euclidean, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:184:1: note: in expansion of macro ‘FILTER_FUNC’
  184 | FILTER_FUNC(euclidean, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:184:1: note: in expansion of macro ‘FILTER_FUNC’
  184 | FILTER_FUNC(euclidean, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 0)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘manhattan_e_slice8’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:186:1: note: in expansion of macro ‘FILTER_FUNC’
  186 | FILTER_FUNC(manhattan_e, 8,  int, uint8_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:186:1: note: in expansion of macro ‘FILTER_FUNC’
  186 | FILTER_FUNC(manhattan_e, 8,  int, uint8_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:186:1: note: in expansion of macro ‘FILTER_FUNC’
  186 | FILTER_FUNC(manhattan_e, 8,  int, uint8_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:186:1: note: in expansion of macro ‘FILTER_FUNC’
  186 | FILTER_FUNC(manhattan_e, 8,  int, uint8_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:186:1: note: in expansion of macro ‘FILTER_FUNC’
  186 | FILTER_FUNC(manhattan_e, 8,  int, uint8_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:186:1: note: in expansion of macro ‘FILTER_FUNC’
  186 | FILTER_FUNC(manhattan_e, 8,  int, uint8_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘manhattan_e_slice16’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:187:1: note: in expansion of macro ‘FILTER_FUNC’
  187 | FILTER_FUNC(manhattan_e, 16, int, uint16_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:187:1: note: in expansion of macro ‘FILTER_FUNC’
  187 | FILTER_FUNC(manhattan_e, 16, int, uint16_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:187:1: note: in expansion of macro ‘FILTER_FUNC’
  187 | FILTER_FUNC(manhattan_e, 16, int, uint16_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:187:1: note: in expansion of macro ‘FILTER_FUNC’
  187 | FILTER_FUNC(manhattan_e, 16, int, uint16_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:187:1: note: in expansion of macro ‘FILTER_FUNC’
  187 | FILTER_FUNC(manhattan_e, 16, int, uint16_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:187:1: note: in expansion of macro ‘FILTER_FUNC’
  187 | FILTER_FUNC(manhattan_e, 16, int, uint16_t, MANHATTAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘euclidean_e_slice8’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:189:1: note: in expansion of macro ‘FILTER_FUNC’
  189 | FILTER_FUNC(euclidean_e, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:189:1: note: in expansion of macro ‘FILTER_FUNC’
  189 | FILTER_FUNC(euclidean_e, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:189:1: note: in expansion of macro ‘FILTER_FUNC’
  189 | FILTER_FUNC(euclidean_e, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:189:1: note: in expansion of macro ‘FILTER_FUNC’
  189 | FILTER_FUNC(euclidean_e, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:189:1: note: in expansion of macro ‘FILTER_FUNC’
  189 | FILTER_FUNC(euclidean_e, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:189:1: note: in expansion of macro ‘FILTER_FUNC’
  189 | FILTER_FUNC(euclidean_e, 8,  int, uint8_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
libavfilter/vf_chromanr.c: In function ‘euclidean_e_slice16’:
libavfilter/vf_chromanr.c:106:19: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  106 |         const int h = s->planeheight[0];                                                 \
      |                   ^
libavfilter/vf_chromanr.c:190:1: note: in expansion of macro ‘FILTER_FUNC’
  190 | FILTER_FUNC(euclidean_e, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:107:19: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  107 |         const int slice_start = (h * jobnr) / nb_jobs;                                   \
      |                   ^~~~~~~~~~~
libavfilter/vf_chromanr.c:190:1: note: in expansion of macro ‘FILTER_FUNC’
  190 | FILTER_FUNC(euclidean_e, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:108:19: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  108 |         const int slice_end = (h * (jobnr+1)) / nb_jobs;                                 \
      |                   ^~~~~~~~~
libavfilter/vf_chromanr.c:190:1: note: in expansion of macro ‘FILTER_FUNC’
  190 | FILTER_FUNC(euclidean_e, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:143:29: warning: declaration of ‘in_yptr’ shadows a previous local [-Wshadow]
  143 |                 const type *in_yptr = (const type *)(in->data[0] + yy * chroma_h * in_ylinesize); \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:190:1: note: in expansion of macro ‘FILTER_FUNC’
  190 | FILTER_FUNC(euclidean_e, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:144:29: warning: declaration of ‘in_uptr’ shadows a previous local [-Wshadow]
  144 |                 const type *in_uptr = (const type *)(in->data[1] + yy * in_ulinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:190:1: note: in expansion of macro ‘FILTER_FUNC’
  190 | FILTER_FUNC(euclidean_e, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
      | ^~~~~~~~~~~
libavfilter/vf_chromanr.c:145:29: warning: declaration of ‘in_vptr’ shadows a previous local [-Wshadow]
  145 |                 const type *in_vptr = (const type *)(in->data[2] + yy * in_vlinesize);            \
      |                             ^~~~~~~
libavfilter/vf_chromanr.c:190:1: note: in expansion of macro ‘FILTER_FUNC’
  190 | FILTER_FUNC(euclidean_e, 16, int64_t, uint16_t, EUCLIDEAN_DISTANCE, 1)
      | ^~~~~~~~~~~
--
libavfilter/vf_colorcorrect.c: In function ‘colorcorrect_slice8’:
libavfilter/vf_colorcorrect.c:307:11: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  307 |     float y = yptr[x * chroma_w] * imax;     \
      |           ^
libavfilter/vf_colorcorrect.c:341:13: note: in expansion of macro ‘PROCESS’
  341 |             PROCESS()
      |             ^~~~~~~
--
libavfilter/vf_colorcorrect.c: In function ‘colorcorrect_slice16’:
libavfilter/vf_colorcorrect.c:307:11: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  307 |     float y = yptr[x * chroma_w] * imax;     \
      |           ^
libavfilter/vf_colorcorrect.c:382:13: note: in expansion of macro ‘PROCESS’
  382 |             PROCESS()
      |             ^~~~~~~
--
libavfilter/vf_convolve.c: In function ‘config_input’:
libavfilter/vf_convolve.c:131:13: warning: declaration of ‘w’ shadows a previous local [-Wshadow]
  131 |         int w = s->planewidth[i];
      |             ^
libavfilter/vf_convolve.c:119:15: note: shadowed declaration is here
  119 |     const int w = inlink->w;
      |               ^
libavfilter/vf_convolve.c:132:13: warning: declaration of ‘h’ shadows a previous local [-Wshadow]
  132 |         int h = s->planeheight[i];
      |             ^
libavfilter/vf_convolve.c:120:15: note: shadowed declaration is here
  120 |     const int h = inlink->h;
      |               ^
--
libavfilter/vf_convolution.c: In function ‘filter_slice’:
libavfilter/vf_convolution.c:621:27: warning: declaration of ‘xoff’ shadows a previous local [-Wshadow]
  621 |                 const int xoff = mode == MATRIX_COLUMN ? (y - slice_start) * bpc : x * bpc;
      |                           ^~~~
libavfilter/vf_convolution.c:617:23: note: shadowed declaration is here
  617 |             const int xoff = mode == MATRIX_COLUMN ? (y - slice_start) * bpc : radius * bpc;
      |                       ^~~~
libavfilter/vf_convolution.c:622:27: warning: declaration of ‘yoff’ shadows a previous local [-Wshadow]
  622 |                 const int yoff = mode == MATRIX_COLUMN ? x * dstride : 0;
      |                           ^~~~
libavfilter/vf_convolution.c:618:23: note: shadowed declaration is here
  618 |             const int yoff = mode == MATRIX_COLUMN ? radius * dstride : 0;
      |                       ^~~~
libavfilter/vf_convolution.c:634:27: warning: declaration of ‘xoff’ shadows a previous local [-Wshadow]
  634 |                 const int xoff = mode == MATRIX_COLUMN ? (y - slice_start) * bpc : x * bpc;
      |                           ^~~~
libavfilter/vf_convolution.c:617:23: note: shadowed declaration is here
  617 |             const int xoff = mode == MATRIX_COLUMN ? (y - slice_start) * bpc : radius * bpc;
      |                       ^~~~
libavfilter/vf_convolution.c:635:27: warning: declaration of ‘yoff’ shadows a previous local [-Wshadow]
  635 |                 const int yoff = mode == MATRIX_COLUMN ? x * dstride : 0;
      |                           ^~~~
libavfilter/vf_convolution.c:618:23: note: shadowed declaration is here
  618 |             const int yoff = mode == MATRIX_COLUMN ? radius * dstride : 0;
      |                       ^~~~
libavfilter/vf_convolution.c: In function ‘param_init’:
libavfilter/vf_convolution.c:672:26: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  672 |             char *orig, *p, *arg, *saveptr = NULL;
      |                          ^
libavfilter/vf_convolution.c:655:9: note: shadowed declaration is here
  655 |     int p, i;
      |         ^
--
libavfilter/vf_decimate.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_decimate.c:264:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  264 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_dedot.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_dedot.c:261:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  261 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_extractplanes.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_extractplanes.c:340:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  340 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |                 ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/vf_extractplanes.c:340:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  340 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_feedback.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_feedback.c:125:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  125 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |                 ^~~
libavfilter/filters.h:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         unsigned i; \
      |                  ^
libavfilter/vf_feedback.c:125:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  125 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[i], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_fftdnoiz.c: In function ‘config_input’:
libavfilter/vf_fftdnoiz.c:212:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  212 |     for (int i = 0; i < s->nb_threads; i++) {
      |              ^
libavfilter/vf_fftdnoiz.c:191:9: note: shadowed declaration is here
  191 |     int i;
      |         ^
--
libavfilter/vf_fieldmatch.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_fieldmatch.c:867:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  867 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_fps.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_fps.c:336:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  336 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_framepack.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_framepack.c:383:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  383 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_framerate.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_framerate.c:305:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  305 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_freezedetect.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_freezeframes.c:86:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
   86 |     FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
      |         ^~~
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_freezedetect.c:153:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  153 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_fsync.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_fsync.c:147:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  147 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_guided.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_guided.c:411:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  411 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_histogram.c: In function ‘filter_frame’:
libavfilter/vf_histogram.c:498:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  498 |             for (int i = 0; i < s->histogram_size; i++) {
      |                      ^
libavfilter/vf_histogram.c:408:9: note: shadowed declaration is here
  408 |     int i, j, k, l, m;
      |         ^
--
libavfilter/vf_lenscorrection.c: In function ‘filter8_slice’:
libavfilter/vf_lenscorrection.c:97:15: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
   97 |         type *out = outrow;                                                    \
      |               ^~~
libavfilter/vf_lenscorrection.c:111:1: note: in expansion of macro ‘NEAREST’
  111 | NEAREST(uint8_t, 8)
      | ^~~~~~~
--
libavfilter/vf_lenscorrection.c: In function ‘filter16_slice’:
libavfilter/vf_lenscorrection.c:97:15: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
   97 |         type *out = outrow;                                                    \
      |               ^~~
libavfilter/vf_lenscorrection.c:112:1: note: in expansion of macro ‘NEAREST’
  112 | NEAREST(uint16_t, 16)
      | ^~~~~~~
--
libavfilter/vf_lenscorrection.c: In function ‘filter8_slice_bilinear’:
libavfilter/vf_lenscorrection.c:140:15: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
  140 |         type *out = outrow;                                                    \
      |               ^~~
libavfilter/vf_lenscorrection.c:175:1: note: in expansion of macro ‘BILINEAR’
  175 | BILINEAR(uint8_t, 8)
      | ^~~~~~~~
--
libavfilter/vf_lenscorrection.c: In function ‘filter16_slice_bilinear’:
libavfilter/vf_lenscorrection.c:140:15: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
  140 |         type *out = outrow;                                                    \
      |               ^~~
libavfilter/vf_lenscorrection.c:176:1: note: in expansion of macro ‘BILINEAR’
  176 | BILINEAR(uint16_t, 16)
      | ^~~~~~~~
--
libavfilter/vf_maskfun.c: In function ‘filter_frame’:
libavfilter/vf_maskfun.c:93:18: warning: declaration of ‘out’ shadows a previous local [-Wshadow]
   93 |         AVFrame *out = av_frame_clone(s->empty);
      |                  ^~~
libavfilter/vf_maskfun.c:90:14: note: shadowed declaration is here
   90 |     AVFrame *out;
      |              ^~~
--
libavfilter/vf_mix.c: In function ‘config_output’:
libavfilter/vf_mix.c:381:23: warning: declaration of ‘inlink’ shadows a previous local [-Wshadow]
  381 |         AVFilterLink *inlink = ctx->inputs[i];
      |                       ^~~~~~
libavfilter/vf_mix.c:322:19: note: shadowed declaration is here
  322 |     AVFilterLink *inlink = ctx->inputs[0];
      |                   ^~~~~~
libavfilter/vf_monochrome.c: In function ‘monochrome_slice8’:
libavfilter/vf_monochrome.c:69:11: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
   69 |     float y = yptr[x] * imax;                \
      |           ^
libavfilter/vf_monochrome.c:107:13: note: in expansion of macro ‘PROCESS’
  107 |             PROCESS()
      |             ^~~~~~~
--
libavfilter/vf_monochrome.c: In function ‘monochrome_slice16’:
libavfilter/vf_monochrome.c:69:11: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
   69 |     float y = yptr[x] * imax;                \
      |           ^
libavfilter/vf_monochrome.c:146:13: note: in expansion of macro ‘PROCESS’
  146 |             PROCESS()
      |             ^~~~~~~
--
libavfilter/vf_premultiply.c: In function ‘activate’:
libavfilter/filters.h:448:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  448 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_premultiply.c:754:9: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK_ALL’
  754 |         FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_scdet.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_scdet.c:152:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  152 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_separatefields.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_separatefields.c:136:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  136 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_selectivecolor.c: In function ‘selective_color_8’:
libavfilter/vf_selectivecolor.c:370:31: warning: declaration of ‘scale’ shadows a previous local [-Wshadow]
  370 |                     const int scale = pr->get_scale(r, g, b, min_color, max_color);                     \
      |                               ^~~~~
libavfilter/vf_selectivecolor.c:415:1: note: in expansion of macro ‘DECLARE_SELECTIVE_COLOR_FUNC’
  415 | DECLARE_SELECTIVE_COLOR_FUNC(nbits)                                                                     \
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_selectivecolor.c: In function ‘selective_color_16’:
libavfilter/vf_selectivecolor.c:370:31: warning: declaration of ‘scale’ shadows a previous local [-Wshadow]
  370 |                     const int scale = pr->get_scale(r, g, b, min_color, max_color);                     \
      |                               ^~~~~
libavfilter/vf_selectivecolor.c:415:1: note: in expansion of macro ‘DECLARE_SELECTIVE_COLOR_FUNC’
  415 | DECLARE_SELECTIVE_COLOR_FUNC(nbits)                                                                     \
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
CC	libavfilter/vf_threshold.o
libavfilter/vf_ssim360.c:1194:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1194 |         int i, p, hist_indices[4];
      |             ^
libavfilter/vf_ssim360.c:1135:9: note: shadowed declaration is here
 1135 |     int i, ret;
      |         ^
--
libavfilter/vf_thumbnail.c: In function ‘do_slice’:
libavfilter/vf_thumbnail.c:198:23: warning: declaration of ‘slice_start’ shadows a previous local [-Wshadow]
  198 |             const int slice_start = (s->planeheight[plane] * jobnr) / nb_jobs;
      |                       ^~~~~~~~~~~
libavfilter/vf_thumbnail.c:152:15: note: shadowed declaration is here
  152 |     const int slice_start = (h * jobnr) / nb_jobs;
      |               ^~~~~~~~~~~
libavfilter/vf_thumbnail.c:199:23: warning: declaration of ‘slice_end’ shadows a previous local [-Wshadow]
  199 |             const int slice_end = (s->planeheight[plane] * (jobnr+1)) / nb_jobs;
      |                       ^~~~~~~~~
libavfilter/vf_thumbnail.c:153:15: note: shadowed declaration is here
  153 |     const int slice_end = (h * (jobnr+1)) / nb_jobs;
      |               ^~~~~~~~~
libavfilter/vf_thumbnail.c:200:28: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  200 |             const uint8_t *p = frame->data[plane] + slice_start * frame->linesize[plane];
      |                            ^
libavfilter/vf_thumbnail.c:154:20: note: shadowed declaration is here
  154 |     const uint8_t *p = frame->data[0] + slice_start * frame->linesize[0];
      |                    ^
--
libavfilter/vf_tpad.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_tpad.c:98:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
   98 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_untile.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_untile.c:114:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  114 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_vmafmotion.c: In function ‘convolution_x’:
libavfilter/vf_vmafmotion.c:109:17: warning: declaration of ‘sum’ shadows a previous local [-Wshadow]
  109 |             int sum = 0;
      |                 ^~~
libavfilter/vf_vmafmotion.c:93:9: note: shadowed declaration is here
   93 |     int sum = 0;
      |         ^~~
--
libavfilter/vf_yadif.c: In function ‘filter_line_c’:
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_xfade.c:907:22: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  907 |             for (int p = 0; p < s->nb_planes; p++) {                                 \
      |                      ^
libavfilter/vf_xfade.c:918:1: note: in expansion of macro ‘CIRCLEOPEN_TRANSITION’
  918 | CIRCLEOPEN_TRANSITION(8, uint8_t, 1)
      | ^~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
libavfilter/vf_xfade.c: In function ‘circleopen16_transition’:
libavfilter/vf_xfade.c:907:22: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  907 |             for (int p = 0; p < s->nb_planes; p++) {                                 \
      |                      ^
libavfilter/vf_xfade.c:919:1: note: in expansion of macro ‘CIRCLEOPEN_TRANSITION’
  919 | CIRCLEOPEN_TRANSITION(16, uint16_t, 2)
      | ^~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_xfade.c: In function ‘circleclose8_transition’:
libavfilter/vf_xfade.c:936:22: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  936 |             for (int p = 0; p < s->nb_planes; p++) {                                 \
      |                      ^
libavfilter/vf_xfade.c:947:1: note: in expansion of macro ‘CIRCLECLOSE_TRANSITION’
  947 | CIRCLECLOSE_TRANSITION(8, uint8_t, 1)
      | ^~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vf_xfade.c: In function ‘circleclose16_transition’:
libavfilter/vf_xfade.c:936:22: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  936 |             for (int p = 0; p < s->nb_planes; p++) {                                 \
      |                      ^
libavfilter/vf_xfade.c:948:1: note: in expansion of macro ‘CIRCLECLOSE_TRANSITION’
  948 | CIRCLECLOSE_TRANSITION(16, uint16_t, 2)
      | ^~~~~~~~~~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
libavfilter/vf_xmedian.c: In function ‘config_output’:
libavfilter/vf_xmedian.c:252:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  252 |     for (int i = 1; i < s->nb_inputs && s->xmedian; i++) {
      |              ^
libavfilter/vf_xmedian.c:250:9: note: shadowed declaration is here
  250 |     int i, ret;
      |         ^
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_xmedian.c:304:23: warning: declaration of ‘inlink’ shadows a previous local [-Wshadow]
  304 |         AVFilterLink *inlink = ctx->inputs[i];
      |                       ^~~~~~
libavfilter/vf_xmedian.c:242:19: note: shadowed declaration is here
  242 |     AVFilterLink *inlink = ctx->inputs[0];
      |                   ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
libavfilter/vf_yadif.c: In function ‘filter_line_c_16bit’:
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
libavfilter/vf_yadif.c: In function ‘filter_edges_16bit’:
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
CC	libavfilter/video.o
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:61:23: note: in expansion of macro ‘CHECK’
   61 |             CHECK(-1) CHECK(-2) }} }} \
      |                       ^~~~~
--
      |     ^~~~~~
libavfilter/vf_yadif.c:37:13: warning: declaration of ‘score’ shadows a previous local [-Wshadow]
   37 |     {   int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
      |             ^~~~~
libavfilter/vf_yadif.c:62:23: note: in expansion of macro ‘CHECK’
   62 |             CHECK( 1) CHECK( 2) }} }} \
      |                       ^~~~~
--
libavfilter/vf_zoompan.c: In function ‘activate’:
libavfilter/filters.h:435:9: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |     int ret = ff_outlink_get_status(outlink); \
      |         ^~~
libavfilter/vf_zoompan.c:269:5: note: in expansion of macro ‘FF_FILTER_FORWARD_STATUS_BACK’
  269 |     FF_FILTER_FORWARD_STATUS_BACK(outlink, inlink);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
libavfilter/vsrc_mandelbrot.c: In function ‘interpol’:
libavfilter/vsrc_mandelbrot.c:223:13: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
  223 |         int s= 8*i;
      |             ^
libavfilter/vsrc_mandelbrot.c:186:32: note: shadowed declaration is here
  186 | static int interpol(MBContext *s, uint32_t *color, int x, int y, int linesize)
      |                     ~~~~~~~~~~~^
--
libavfilter/vsrc_testsrc.c: In function ‘test2_fill_picture’:
libavfilter/vsrc_testsrc.c:869:17: warning: declaration of ‘alpha’ shadows a previous local [-Wshadow]
  869 |         uint8_t alpha[256];
      |                 ^~~~~
libavfilter/vsrc_testsrc.c:754:14: note: shadowed declaration is here
  754 |     unsigned alpha = (uint32_t)s->alpha << 24;
      |              ^~~~~
--
libavformat/apetag.c: In function ‘ape_tag_read_field’:
libavformat/apetag.c:84:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
   84 |             int ret = ff_add_attached_pic(s, st, s->pb, NULL, size);
      |                 ^~~
libavformat/apetag.c:67:13: note: shadowed declaration is here
   67 |         int ret;
      |             ^~~
--
libavformat/asfdec_f.c: In function ‘asf_read_marker’:
libavformat/asfdec_f.c:671:13: warning: declaration of ‘name_len’ shadows a previous local [-Wshadow]
  671 |         int name_len;
      |             ^~~~~~~~
libavformat/asfdec_f.c:659:19: note: shadowed declaration is here
  659 |     int i, count, name_len, ret;
      |                   ^~~~~~~~
--
libavformat/asfdec_f.c: In function ‘asf_parse_packet’:
libavformat/asfdec_f.c:1143:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1143 |             int ret = asf->packet_size_left + asf->packet_padsize;
      |                 ^~~
libavformat/asfdec_f.c:1138:13: note: shadowed declaration is here
 1138 |         int ret;
      |             ^~~
libavformat/asfdec_f.c:1212:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1212 |             int ret;
      |                 ^~~
libavformat/asfdec_f.c:1138:13: note: shadowed declaration is here
 1138 |         int ret;
      |             ^~~
--
libavformat/asfdec_f.c: In function ‘asf_read_seek’:
libavformat/asfdec_f.c:1578:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1578 |         int64_t ret = avio_seek_time(s->pb, stream_index, pts, flags);
      |                 ^~~
libavformat/asfdec_f.c:1571:9: note: shadowed declaration is here
 1571 |     int ret = 0;
      |         ^~~
--
libavformat/avienc.c: In function ‘avi_write_header’:
libavformat/avienc.c:516:35: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  516 |             int num, den, fields, i;
      |                                   ^
libavformat/avienc.c:264:21: note: shadowed declaration is here
  264 |     int bitrate, n, i, nb_frames, au_byterate, au_ssize, au_scale;
      |                     ^
libavformat/avio.c: In function ‘ffurl_connect’:
libavformat/avio.c:205:50: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  205 | int ffurl_connect(URLContext *uc, AVDictionary **options)
      |                                   ~~~~~~~~~~~~~~~^~~~~~~
libavformat/avio.c:60:23: note: shadowed declaration is here
   60 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/avio.c: In function ‘ffurl_open_whitelist’:
libavformat/avio.c:363:72: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  363 |                          const AVIOInterruptCB *int_cb, AVDictionary **options,
      |                                                         ~~~~~~~~~~~~~~~^~~~~~~
libavformat/avio.c:60:23: note: shadowed declaration is here
   60 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/avio.c: In function ‘ffio_open_whitelist’:
libavformat/avio.c:472:71: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  472 |                         const AVIOInterruptCB *int_cb, AVDictionary **options,
      |                                                        ~~~~~~~~~~~~~~~^~~~~~~
libavformat/avio.c:60:23: note: shadowed declaration is here
   60 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/avio.c: In function ‘avio_open2’:
libavformat/avio.c:492:62: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  492 |                const AVIOInterruptCB *int_cb, AVDictionary **options)
      |                                               ~~~~~~~~~~~~~~~^~~~~~~
libavformat/avio.c:60:23: note: shadowed declaration is here
   60 | static const AVOption options[] = {
      |                       ^~~~~~~
--
libavformat/aviobuf.c: In function ‘put_str16’:
./libavutil/common.h:495:26: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
  495 |             unsigned int tmp = (GET_BYTE) - 128;\
      |                          ^~~
libavformat/aviobuf.c:394:9: note: in expansion of macro ‘GET_UTF8’
  394 |         GET_UTF8(ch, *q++, goto invalid;)
      |         ^~~~~~~~
--
libavformat/avio.c: In function ‘avio_open_dir’:
libavformat/avio.c:725:71: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  725 | int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options)
      |                                                        ~~~~~~~~~~~~~~~^~~~~~~
libavformat/avio.c:60:23: note: shadowed declaration is here
   60 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/avidec.c: In function ‘avi_read_nikon’:
libavformat/avidec.c:380:26: warning: declaration of ‘tag’ shadows a previous local [-Wshadow]
  380 |                 uint16_t tag     = avio_rl16(s->pb);
      |                          ^~~
libavformat/avidec.c:373:18: note: shadowed declaration is here
  373 |         uint32_t tag  = avio_rl32(s->pb);
      |                  ^~~
libavformat/avidec.c:381:26: warning: declaration of ‘size’ shadows a previous local [-Wshadow]
  381 |                 uint16_t size    = avio_rl16(s->pb);
      |                          ^~~~
libavformat/avidec.c:374:18: note: shadowed declaration is here
  374 |         uint32_t size = avio_rl32(s->pb);
      |                  ^~~~
--
libavformat/avidec.c: In function ‘avi_read_header’:
libavformat/avidec.c:1080:23: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 1080 |             AVStream *st = s->streams[i];
      |                       ^~
libavformat/avidec.c:510:15: note: shadowed declaration is here
  510 |     AVStream *st;
      |               ^~
libavformat/avidec.c:1087:19: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 1087 |         AVStream *st = s->streams[i];
      |                   ^~
libavformat/avidec.c:510:15: note: shadowed declaration is here
  510 |     AVStream *st;
      |               ^~
libavformat/avidec.c: In function ‘avi_read_packet’:
libavformat/avidec.c:1490:19: warning: declaration of ‘err’ shadows a previous local [-Wshadow]
 1490 |         int size, err;
      |                   ^~~
libavformat/avidec.c:1468:9: note: shadowed declaration is here
 1468 |     int err;
      |         ^~~
--
libavformat/bonk.c: In function ‘bonk_read_header’:
libavformat/bonk.c:66:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
   66 |             int ret = ffio_ensure_seekback(s->pb, 3);
      |                 ^~~
libavformat/bonk.c:60:9: note: shadowed declaration is here
   60 |     int ret;
      |         ^~~
--
libavformat/crypto.c: In function ‘crypto_open2’:
libavformat/crypto.c:109:83: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  109 | static int crypto_open2(URLContext *h, const char *uri, int flags, AVDictionary **options)
      |                                                                    ~~~~~~~~~~~~~~~^~~~~~~
libavformat/crypto.c:65:23: note: shadowed declaration is here
   65 | static const AVOption options[] = {
      |                       ^~~~~~~
--
libavformat/dashenc.c: In function ‘parse_adaptation_sets’:
libavformat/dashenc.c:1057:28: warning: declaration of ‘as’ shadows a previous local [-Wshadow]
 1057 |             AdaptationSet *as = &c->as[c->nb_as - 1];
      |                            ^~
libavformat/dashenc.c:932:20: note: shadowed declaration is here
  932 |     AdaptationSet *as;
      |                    ^~
--
libavformat/dashenc.c: In function ‘dash_write_packet’:
libavformat/dashenc.c:2123:24: warning: declaration of ‘as’ shadows a previous local [-Wshadow]
 2123 |         AdaptationSet *as = &c->as[os->as_idx - 1];
      |                        ^~
libavformat/dashenc.c:2073:20: note: shadowed declaration is here
 2073 |     AdaptationSet *as = &c->as[os->as_idx - 1];
      |                    ^~
--
libavformat/demux.c: In function ‘update_wrap_reference’:
libavformat/dhav.c:461:19: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
  461 |         AVStream *st = s->streams[n];
      |                   ^~
libavformat/dhav.c:447:15: note: shadowed declaration is here
  447 |     AVStream *st = s->streams[stream_index];
      |               ^~
libavformat/demux.c:492:33: warning: declaration of ‘sti’ shadows a previous local [-Wshadow]
  492 |                 FFStream *const sti = ffstream(s->streams[i]);
      |                                 ^~~
libavformat/demux.c:466:21: note: shadowed declaration is here
  466 |     FFStream *const sti = ffstream(st);
      |                     ^~~
libavformat/demux.c:518:37: warning: declaration of ‘sti’ shadows a previous local [-Wshadow]
  518 |                     FFStream *const sti = ffstream(s->streams[program->stream_index[i]]);
      |                                     ^~~
libavformat/demux.c:466:21: note: shadowed declaration is here
  466 |     FFStream *const sti = ffstream(st);
      |                     ^~~
--
libavformat/demux.c: In function ‘read_frame_internal’:
libavformat/demux.c:1341:33: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 1341 |                 AVStream *const st  = s->streams[i];
      |                                 ^~
libavformat/demux.c:1331:19: note: shadowed declaration is here
 1331 |         AVStream *st;
      |                   ^~
libavformat/demux.c:1342:33: warning: declaration of ‘sti’ shadows a previous local [-Wshadow]
 1342 |                 FFStream *const sti = ffstream(st);
      |                                 ^~~
libavformat/demux.c:1332:19: note: shadowed declaration is here
 1332 |         FFStream *sti;
      |                   ^~~
libavformat/dovi_isom.c: In function ‘ff_isom_parse_dvcc_dvvc’:
libavformat/dovi_isom.c:60:17: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
   60 |         uint8_t buf = *buf_ptr++;
      |                 ^~~
libavformat/dovi_isom.c:35:14: note: shadowed declaration is here
   35 |     uint32_t buf;
      |              ^~~
libavformat/dsfdec.c: In function ‘dsf_read_packet’:
libavformat/dsfdec.c:178:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  178 |             int ch, ret;
      |                     ^~~
libavformat/dsfdec.c:165:9: note: shadowed declaration is here
  165 |     int ret;
      |         ^~~
--
libavformat/demux.c: In function ‘avformat_find_stream_info’:
libavformat/demux.c:2627:29: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 2627 |             AVStream *const st  = ic->streams[i];
      |                             ^~
libavformat/demux.c:2614:19: note: shadowed declaration is here
 2614 |         AVStream *st;
      |                   ^~
libavformat/demux.c:2628:29: warning: declaration of ‘sti’ shadows a previous local [-Wshadow]
 2628 |             FFStream *const sti = ffstream(st);
      |                             ^~~
libavformat/demux.c:2615:19: note: shadowed declaration is here
 2615 |         FFStream *sti;
      |                   ^~~
CC	libavformat/dvenc.o
libavformat/demux.c:2630:17: warning: declaration of ‘count’ shadows a previous local [-Wshadow]
 2630 |             int count;
      |                 ^~~~~
libavformat/demux.c:2519:9: note: shadowed declaration is here
 2519 |     int count = 0, ret = 0, err;
      |         ^~~~~
libavformat/demux.c:2688:27: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 2688 |             for (unsigned i = 0; i < ic->nb_streams; i++) {
      |                           ^
CC	libavformat/dxa.o
libavformat/demux.c:2618:18: note: shadowed declaration is here
 2618 |         unsigned i;
      |                  ^
libavformat/demux.c:2689:33: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 2689 |                 AVStream *const st  = ic->streams[i];
      |                                 ^~
CC	libavformat/eacdata.o
libavformat/demux.c:2614:19: note: shadowed declaration is here
 2614 |         AVStream *st;
--
CC	libavformat/electronicarts.o
libavformat/demux.c:2690:33: warning: declaration of ‘sti’ shadows a previous local [-Wshadow]
 2690 |                 FFStream *const sti = ffstream(st);
      |                                 ^~~
libavformat/demux.c:2615:19: note: shadowed declaration is here
 2615 |         FFStream *sti;
      |                   ^~~
libavformat/demux.c:2877:13: warning: declaration of ‘err’ shadows a previous local [-Wshadow]
 2877 |         int err = 0;
      |             ^~~
libavformat/demux.c:2519:29: note: shadowed declaration is here
 2519 |     int count = 0, ret = 0, err;
      |                             ^~~
libavformat/demux.c:3098:13: warning: declaration of ‘err’ shadows a previous local [-Wshadow]
 3098 |         int err;
      |             ^~~
libavformat/demux.c:2519:29: note: shadowed declaration is here
 2519 |     int count = 0, ret = 0, err;
      |                             ^~~
libavformat/dump.c: In function ‘dump_stream_group’:
libavformat/dump.c:785:18: warning: declaration of ‘i’ shadows a parameter [-Wshadow]
  785 |         for (int i = 0; i < stg->nb_streams; i++) {
      |                  ^
libavformat/dump.c:685:35: note: shadowed declaration is here
  685 |                               int i, int index, int is_output)
      |                               ~~~~^
--
libavformat/flvdec.c: In function ‘flv_read_packet’:
libavformat/flvdec.c:1268:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1268 |                 int ret = flv_parse_video_color_info(s, st, next);
      |                     ^~~
libavformat/flvdec.c:1195:9: note: shadowed declaration is here
 1195 |     int ret, i, size, flags;
      |         ^~~
libavformat/flvdec.c:1278:17: warning: declaration of ‘type’ shadows a previous local [-Wshadow]
 1278 |             int type;
      |                 ^~~~
libavformat/flvdec.c:1196:21: note: shadowed declaration is here
 1196 |     enum FlvTagType type;
      |                     ^~~~
libavformat/flvdec.c:1370:13: warning: declaration of ‘size’ shadows a previous local [-Wshadow]
 1370 |         int size;
      |             ^~~~
libavformat/flvdec.c:1195:17: note: shadowed declaration is here
 1195 |     int ret, i, size, flags;
      |                 ^~~~
libavformat/flvdec.c:1371:23: warning: declaration of ‘pos’ shadows a previous local [-Wshadow]
 1371 |         const int64_t pos   = avio_tell(s->pb);
      |                       ^~~
CC	libavformat/g722.o
libavformat/flvdec.c:1198:19: note: shadowed declaration is here
 1198 |     int64_t next, pos, meta_pos;
      |                   ^~~
libavformat/flvdec.c:1431:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1431 |         int ret = flv_set_video_codec(s, st, video_codec_id, 1);
      |             ^~~
libavformat/flvdec.c:1195:9: note: shadowed declaration is here
 1195 |     int ret, i, size, flags;
      |         ^~~
libavformat/flvdec.c:1447:13: warning: declaration of ‘type’ shadows a previous local [-Wshadow]
 1447 |         int type = 0;
      |             ^~~~
libavformat/flvdec.c:1196:21: note: shadowed declaration is here
 1196 |     enum FlvTagType type;
      |                     ^~~~
libavformat/flvdec.c:1520:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1520 |         int ret = av_packet_add_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA,
      |             ^~~
libavformat/flvdec.c:1195:9: note: shadowed declaration is here
 1195 |     int ret, i, size, flags;
      |         ^~~
--
libavformat/hlsenc.c: In function ‘parse_playlist’:
libavformat/hlsenc.c:1271:27: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
 1271 |             int y,M,d,h,m,s;
      |                           ^
libavformat/hlsenc.c:1205:44: note: shadowed declaration is here
 1205 | static int parse_playlist(AVFormatContext *s, const char *url, VariantStream *vs)
      |                           ~~~~~~~~~~~~~~~~~^
--
libavformat/hlsenc.c: In function ‘hls_write_trailer’:
libavformat/hlsenc.c:2791:17: warning: declaration of ‘range_length’ shadows a previous local [-Wshadow]
 2791 |             int range_length = 0;
      |                 ^~~~~~~~~~~~
libavformat/hlsenc.c:2764:9: note: shadowed declaration is here
 2764 |     int range_length, byterange_mode;
      |         ^~~~~~~~~~~~
libavformat/hlsenc.c: In function ‘hls_init’:
libavformat/hlsenc.c:2968:24: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
 2968 |             struct tm *p, tmbuf;
      |                        ^
libavformat/hlsenc.c:2901:11: note: shadowed declaration is here
 2901 |     char *p = NULL;
      |           ^
libavformat/iamf_reader.c: In function ‘parameter_block_obu’:
libavformat/iamf_reader.c:212:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  212 |             for (int i = 0; i < element->nb_layers; i++) {
      |                      ^
libavformat/iamf_reader.c:171:14: note: shadowed declaration is here
  171 |     for (int i = 0; i < nb_subblocks; i++) {
      |              ^
libavformat/http.c: In function ‘http_open_cnx_internal’:
libavformat/http.c:210:65: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  210 | static int http_open_cnx_internal(URLContext *h, AVDictionary **options)
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~
libavformat/http.c:153:23: note: shadowed declaration is here
  153 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/http.c: In function ‘http_open_cnx’:
libavformat/http.c:363:56: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  363 | static int http_open_cnx(URLContext *h, AVDictionary **options)
      |                                         ~~~~~~~~~~~~~~~^~~~~~~
libavformat/http.c:153:23: note: shadowed declaration is here
  153 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/http.c: In function ‘ff_http_do_new_request2’:
libavformat/http.c:483:19: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  483 |     AVDictionary *options = NULL;
      |                   ^~~~~~~
libavformat/http.c:153:23: note: shadowed declaration is here
  153 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/http.c: In function ‘http_listen’:
libavformat/http.c:680:39: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  680 |                        AVDictionary **options) {
      |                        ~~~~~~~~~~~~~~~^~~~~~~
libavformat/http.c:153:23: note: shadowed declaration is here
  153 | static const AVOption options[] = {
      |                       ^~~~~~~
libavformat/http.c: In function ‘http_open’:
libavformat/http.c:712:37: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  712 |                      AVDictionary **options)
      |                      ~~~~~~~~~~~~~~~^~~~~~~
libavformat/http.c:153:23: note: shadowed declaration is here
  153 | static const AVOption options[] = {
      |                       ^~~~~~~
--
libavformat/iamf_writer.c: In function ‘iamf_write_mixing_presentation’:
libavformat/iamf_writer.c:803:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  803 |         for (int i = 0; i < sub_mix->nb_layouts; i++) {
      |                  ^
libavformat/iamf_writer.c:755:14: note: shadowed declaration is here
  755 |     for (int i = 0; i < mix->nb_submixes; i++) {
      |              ^
libavformat/http.c: In function ‘http_seek_internal’:
libavformat/http.c:1967:19: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
 1967 |     AVDictionary *options = NULL;
      |                   ^~~~~~~
libavformat/http.c:153:23: note: shadowed declaration is here
  153 | static const AVOption options[] = {
      |                       ^~~~~~~
--
libavformat/id3v2.c: In function ‘id3v2_parse’:
libavformat/id3v2.c:992:26: warning: declaration of ‘end’ shadows a previous local [-Wshadow]
  992 |                 uint8_t *end = t + tlen;
      |                          ^~~
libavformat/id3v2.c:833:19: note: shadowed declaration is here
  833 |     int64_t next, end = avio_tell(pb);
      |                   ^~~
--
libavformat/iff.c: In function ‘get_anim_duration’:
libavformat/iff.c:820:18: warning: declaration of ‘size’ shadows a parameter [-Wshadow]
  820 |         unsigned size = bytestream2_get_be32(&gb);
      |                  ^~~~
libavformat/iff.c:812:53: note: shadowed declaration is here
  812 | static unsigned get_anim_duration(uint8_t *buf, int size)
      |                                                 ~~~~^~~~
--
libavformat/img2enc.c: In function ‘write_packet’:
libavformat/img2enc.c:227:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  227 |         int ret = ff_rename(img->tmp[i], img->target[i], s);
      |             ^~~
libavformat/img2enc.c:147:9: note: shadowed declaration is here
  147 |     int ret, i;
      |         ^~~
--
libavformat/img2dec.c: In function ‘ff_img_read_packet’:
libavformat/img2dec.c:466:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  466 |             int ret;
      |                 ^~~
libavformat/img2dec.c:419:36: note: shadowed declaration is here
  419 |     int size[3]           = { 0 }, ret[3] = { 0 };
      |                                    ^~~
--
libavformat/lafdec.c: In function ‘laf_read_packet’:
libavformat/lafdec.c:201:31: warning: declaration of ‘stp’ shadows a previous local [-Wshadow]
  201 |                 StreamParams *stp = &s->p[st_index];
      |                               ^~~
libavformat/lafdec.c:181:19: note: shadowed declaration is here
  181 |     StreamParams *stp;
      |                   ^~~
--
libavformat/matroskadec.c: In function ‘ebml_parse’:
libavformat/matroskadec.c:1284:18: warning: declaration of ‘id’ shadows a previous local [-Wshadow]
 1284 |         uint64_t id;
      |                  ^~
libavformat/matroskadec.c:1276:14: note: shadowed declaration is here
 1276 |     uint32_t id;
      |              ^~
libavformat/matroskaenc.c: In function ‘get_metadata_duration’:
libavformat/matroskaenc.c:2506:17: warning: declaration of ‘us’ shadows a previous local [-Wshadow]
 2506 |         int64_t us;
      |                 ^~
libavformat/matroskaenc.c:2498:13: note: shadowed declaration is here
 2498 |     int64_t us;
      |             ^~
libavformat/matroskadec.c: In function ‘mkv_parse_video’:
libavformat/matroskadec.c:3042:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 3042 |         int ret = mkv_stereo3d_conv(st, track->video.stereo_mode);
      |             ^~~
CC	libavformat/mms.o
libavformat/matroskadec.c:2950:9: note: shadowed declaration is here
 2950 |     int ret;
--
libavformat/matroskadec.c: In function ‘webm_dash_manifest_cues’:
libavformat/matroskadec.c:4743:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 4743 |     for (int i = 0; i < sti->nb_index_entries; i++)
      |              ^
libavformat/matroskadec.c:4686:9: note: shadowed declaration is here
 4686 |     int i;
      |         ^
--
libavformat/mov.c: In function ‘mov_read_mac_string’:
libavformat/mov.c:177:20: warning: declaration of ‘c’ shadows a parameter [-Wshadow]
  177 |         uint8_t t, c = avio_r8(pb);
      |                    ^
libavformat/mov.c:169:44: note: shadowed declaration is here
  169 | static int mov_read_mac_string(MOVContext *c, AVIOContext *pb, int len,
      |                                ~~~~~~~~~~~~^
--
libavformat/mp3dec.c: In function ‘mp3_read_header’:
libavformat/mp3dec.c:433:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  433 |     for (int i = 0; i < sti->nb_index_entries; i++)
      |              ^
libavformat/mp3dec.c:371:9: note: shadowed declaration is here
  371 |     int i;
      |         ^
--
libavformat/mov.c: In function ‘mov_build_index’:
libavformat/mov.c:4517:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 4517 |         int i, edit_start_index = 0, multiple_edits = 0;
      |             ^
libavformat/mpc8.c: In function ‘mpc8_read_header’:
libavformat/mpc8.c:300:17: warning: declaration of ‘pos’ shadows a previous local [-Wshadow]
  300 |         int64_t pos = avio_tell(s->pb);
      |                 ^~~
libavformat/mpc8.c:244:19: note: shadowed declaration is here
  244 |     int64_t size, pos;
      |                   ^~~
libavformat/mpeg.c: In function ‘mpegps_read_pes_header’:
libavformat/mpeg.c:272:17: warning: declaration of ‘len’ shadows a previous local [-Wshadow]
  272 |             int len = avio_rb16(s->pb);
      |                 ^~~
libavformat/mpeg.c:241:9: note: shadowed declaration is here
  241 |     int len, size, startcode, c, flags, header_len;
      |         ^~~
--
      |                  ^
libavformat/mpeg.c:342:17: warning: declaration of ‘len’ shadows a previous local [-Wshadow]
  342 |             int len = avio_rb16(s->pb);
      |                 ^~~
libavformat/mpeg.c:241:9: note: shadowed declaration is here
  241 |     int len, size, startcode, c, flags, header_len;
      |         ^~~
--
libavformat/mpegenc.c: In function ‘output_packet’:
libavformat/mpegenc.c:1026:19: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 1026 |         AVStream *st = ctx->streams[i];
      |                   ^~
libavformat/mpegenc.c:1013:15: note: shadowed declaration is here
 1013 |     AVStream *st;
      |               ^~
libavformat/mpegenc.c:1027:21: warning: declaration of ‘stream’ shadows a previous local [-Wshadow]
 1027 |         StreamInfo *stream = st->priv_data;
      |                     ^~~~~~
libavformat/mpegenc.c:1014:17: note: shadowed declaration is here
 1014 |     StreamInfo *stream;
      |                 ^~~~~~
libavformat/mpegenc.c:1062:23: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
 1062 |             AVStream *st = ctx->streams[i];
      |                       ^~
libavformat/mpegenc.c:1013:15: note: shadowed declaration is here
 1013 |     AVStream *st;
      |               ^~
CC	libavformat/mpsubdec.o
libavformat/mpegenc.c:1063:25: warning: declaration of ‘stream’ shadows a previous local [-Wshadow]
 1063 |             StreamInfo *stream = st->priv_data;
      |                         ^~~~~~
libavformat/mpegenc.c:1014:17: note: shadowed declaration is here
 1014 |     StreamInfo *stream;
      |                 ^~~~~~
--
libavformat/mpegenc.c: In function ‘mpeg_mux_write_packet’:
libavformat/mpegenc.c:1245:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1245 |         int ret = output_packet(ctx, 0);
      |             ^~~
libavformat/mov.c:5877:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 5877 |     for (int i = index_entry_pos; i < sti->nb_index_entries; i++) {
      |              ^
libavformat/mpegenc.c:1166:18: note: shadowed declaration is here
 1166 |     int preload, ret;
      |                  ^~~
--
libavformat/mpegts.c: In function ‘mpegts_push_data’:
libavformat/mpegts.c:1321:32: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
 1321 |                     AVProgram *p = NULL;
      |                                ^
libavformat/mpegts.c:1148:20: note: shadowed declaration is here
 1148 |     const uint8_t *p;
      |                    ^
--
CC	libavformat/mtv.o
libavformat/movenc.c:6369:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 6369 |             int ret;
      |                 ^~~
libavformat/movenc.c:6256:9: note: shadowed declaration is here
 6256 |     int ret;
      |         ^~~
libavformat/mpegtsenc.c: In function ‘mpegts_write_packet_internal’:
libavformat/mpegtsenc.c:2072:22: warning: declaration of ‘side_data’ shadows a previous local [-Wshadow]
 2072 |             uint8_t *side_data;
      |                      ^~~~~~~~~
libavformat/mpegtsenc.c:1873:14: note: shadowed declaration is here
 1873 |     uint8_t *side_data = NULL;
      |              ^~~~~~~~~
libavformat/mpegtsenc.c:2073:20: warning: declaration of ‘side_data_size’ shadows a previous local [-Wshadow]
 2073 |             size_t side_data_size;
      |                    ^~~~~~~~~~~~~~
libavformat/mpegtsenc.c:1872:12: note: shadowed declaration is here
 1872 |     size_t side_data_size;
      |            ^~~~~~~~~~~~~~
libavformat/movenc.c: In function ‘ff_mov_write_packet’:
libavformat/movenc.c:6534:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 6534 |         int ret;
      |             ^~~
libavformat/movenc.c:6513:27: note: shadowed declaration is here
 6513 |     int size = pkt->size, ret = 0, offset = 0;
      |                           ^~~
--
libavformat/movenc.c: In function ‘mov_write_packet’:
libavformat/movenc.c:7134:23: warning: declaration of ‘trk’ shadows a previous local [-Wshadow]
 7134 |             MOVTrack *trk = &mov->tracks[i];
      |                       ^~~
libavformat/movenc.c:7067:15: note: shadowed declaration is here
 7067 |     MOVTrack *trk;
      |               ^~~
libavformat/movenc.c: In function ‘mov_create_dvd_sub_decoder_specific_info’:
libavformat/movenc.c:7473:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 7473 |             int i, count;
      |                 ^
libavformat/movenc.c:7466:9: note: shadowed declaration is here
 7466 |     int i, width = 720, height = 480;
      |         ^
--
CC	libavformat/mxf.o
libavformat/movenc.c:7850:21: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 7850 |     for (int j = 0, i = 0; j < s->nb_streams; j++) {
      |                     ^
CC	libavformat/mxfdec.o
CC	libavformat/mxfenc.o
libavformat/movenc.c:7593:9: note: shadowed declaration is here
--
libavformat/mux.c: In function ‘init_muxer’:
libavformat/mux.c:302:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  302 |         for (int i = 0; i < st->nb_side_data; i++) {
      |                  ^
libavformat/mux.c:221:19: note: shadowed declaration is here
  221 |     for (unsigned i = 0; i < s->nb_streams; i++) {
      |                   ^
libavformat/mov.c:8769:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 8769 |     for (int i = 0; i < c->nb_heif_grid; i++) {
      |              ^
libavformat/mov.c:8766:18: note: shadowed declaration is here
 8766 |     int entries, i;
      |                  ^
CC	libavformat/mxg.o
libavformat/mov.c:8776:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 8776 |     for (int i = 0; i < c->nb_heif_item; i++) {
      |              ^
libavformat/mov.c:8766:18: note: shadowed declaration is here
 8766 |     int entries, i;
      |                  ^
--
CC	libavformat/nsvdec.o
libavformat/mov.c:9402:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 9402 |             for (int i = 0; i < sti->nb_index_entries; i++) {
      |                      ^
libavformat/mov.c:9362:9: note: shadowed declaration is here
 9362 |     int i, j;
      |         ^
--
libavformat/mov.c: In function ‘read_image_grid’:
libavformat/mov.c:9843:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 9843 |     for (int i = 0; i < tile_cols; i++)
      |              ^
libavformat/mov.c:9805:23: note: shadowed declaration is here
 9805 |     int x = 0, y = 0, i = 0;
      |                       ^
libavformat/mxfdec.c: In function ‘mxf_read_partition_pack’:
libavformat/mxfdec.c:874:19: warning: declaration of ‘op’ shadows a previous local [-Wshadow]
  874 |             MXFOP op = nb_essence_containers ? OP1a : OPAtom;
      |                   ^~
libavformat/mxfdec.c:729:9: note: shadowed declaration is here
  729 |     UID op;
      |         ^~
libavformat/mov.c:9845:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 9845 |     for (int i = 0; i < size; i += tile_cols)
      |              ^
libavformat/mov.c:9805:23: note: shadowed declaration is here
 9805 |     int x = 0, y = 0, i = 0;
      |                       ^
--
libavformat/mxfdec.c: In function ‘parse_mca_labels’:
libavformat/mxfdec.c:2577:12: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 2577 |        int ret = set_language(mxf->fc, language, &st->metadata);
      |            ^~~
libavformat/mxfdec.c:2521:9: note: shadowed declaration is here
 2521 |     int ret;
      |         ^~~
libavformat/nsvdec.c: In function ‘nsv_parse_NSVs_header’:
libavformat/nsvdec.c:423:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  423 |             int i;
      |                 ^
libavformat/nsvdec.c:383:9: note: shadowed declaration is here
  383 |     int i;
      |         ^
libavformat/mxfdec.c: In function ‘mxf_parse_structural_metadata’:
libavformat/mxfdec.c:3062:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 3062 |     for (int i = 0; i < mxf->fc->nb_streams; i++) {
      |              ^
libavformat/mxfdec.c:2604:9: note: shadowed declaration is here
 2604 |     int i, j, k, ret;
      |         ^
libavformat/mxfdec.c:3065:22: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 3065 |             for (int j = i + 1; j < mxf->fc->nb_streams; j++) {
      |                      ^
libavformat/mxfdec.c:2604:12: note: shadowed declaration is here
 2604 |     int i, j, k, ret;
      |            ^
--
libavformat/mov.c: In function ‘mov_read_seek’:
libavformat/mov.c:10761:29: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
10761 |             AVStream *const st  = s->streams[i];
      |                             ^~
CC	libavformat/oggparseflac.o
libavformat/mov.c:10741:15: note: shadowed declaration is here
10741 |     AVStream *st;
      |               ^~
libavformat/mov.c:10762:29: warning: declaration of ‘sti’ shadows a previous local [-Wshadow]
10762 |             FFStream *const sti = ffstream(st);
      |                             ^~~
libavformat/mov.c:10742:15: note: shadowed declaration is here
10742 |     FFStream *sti;
      |               ^~~
--
libavformat/oggenc.c: In function ‘ogg_buffer_data’:
libavformat/oggenc.c:254:23: warning: declaration of ‘st’ shadows a parameter [-Wshadow]
  254 |             AVStream *st = s->streams[page->stream_index];
      |                       ^~
libavformat/oggenc.c:201:58: note: shadowed declaration is here
  201 | static int ogg_buffer_data(AVFormatContext *s, AVStream *st,
      |                                                ~~~~~~~~~~^~
--
libavformat/nutenc.c: In function ‘build_frame_code’:
libavformat/nutenc.c:185:20: warning: declaration of ‘ft’ shadows a previous local [-Wshadow]
  185 |         FrameCode *ft = &nut->frame_code[start];
      |                    ^~
libavformat/nutenc.c:175:16: note: shadowed declaration is here
  175 |     FrameCode *ft;
      |                ^~
libavformat/nutenc.c:214:28: warning: declaration of ‘ft’ shadows a previous local [-Wshadow]
  214 |                 FrameCode *ft = &nut->frame_code[start2];
      |                            ^~
libavformat/nutenc.c:175:16: note: shadowed declaration is here
  175 |     FrameCode *ft;
      |                ^~
libavformat/nutenc.c:234:21: warning: declaration of ‘frame_size’ shadows a previous local [-Wshadow]
  234 |                 int frame_size = av_get_audio_frame_duration2(par, 0);
      |                     ^~~~~~~~~~
libavformat/nutenc.c:198:13: note: shadowed declaration is here
  198 |         int frame_size = 0;
      |             ^~~~~~~~~~
libavformat/nutenc.c:240:32: warning: declaration of ‘ft’ shadows a previous local [-Wshadow]
  240 |                     FrameCode *ft  = &nut->frame_code[start2];
      |                                ^~
libavformat/nutenc.c:175:16: note: shadowed declaration is here
  175 |     FrameCode *ft;
      |                ^~
libavformat/nutenc.c:251:24: warning: declaration of ‘ft’ shadows a previous local [-Wshadow]
  251 |             FrameCode *ft = &nut->frame_code[start2];
      |                        ^~
libavformat/nutenc.c:175:16: note: shadowed declaration is here
  175 |     FrameCode *ft;
      |                ^~
libavformat/nutenc.c:284:28: warning: declaration of ‘ft’ shadows a previous local [-Wshadow]
  284 |                 FrameCode *ft = &nut->frame_code[index];
      |                            ^~
libavformat/nutenc.c:175:16: note: shadowed declaration is here
  175 |     FrameCode *ft;
      |                ^~
libavformat/nutenc.c: In function ‘nut_write_packet’:
libavformat/nutenc.c:1056:31: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1056 |                 for (unsigned i = 0; i < s->nb_streams; i++) {
      |                               ^
libavformat/nutenc.c:970:55: note: shadowed declaration is here
  970 |     int best_length, frame_code, flags, needed_flags, i, header_idx;
      |                                                       ^
libavformat/nutenc.c:1057:36: warning: declaration of ‘nus’ shadows a previous local [-Wshadow]
 1057 |                     StreamContext *nus = &nut->stream[i];
      |                                    ^~~
libavformat/nutenc.c:966:20: note: shadowed declaration is here
  966 |     StreamContext *nus = &nut->stream[pkt->stream_index];
      |                    ^~~
libavformat/nutenc.c:1081:20: warning: declaration of ‘fc’ shadows a previous local [-Wshadow]
 1081 |         FrameCode *fc = &nut->frame_code[i];
      |                    ^~
libavformat/nutenc.c:968:16: note: shadowed declaration is here
  968 |     FrameCode *fc;
      |                ^~
libavformat/nutenc.c:1082:13: warning: declaration of ‘flags’ shadows a previous local [-Wshadow]
 1082 |         int flags     = fc->flags;
      |             ^~~~~
libavformat/nutenc.c:970:34: note: shadowed declaration is here
  970 |     int best_length, frame_code, flags, needed_flags, i, header_idx;
      |                                  ^~~~~
--
libavformat/oggparseopus.c: In function ‘opus_packet’:
libavformat/oggparseopus.c:146:21: warning: declaration of ‘d’ shadows a previous local [-Wshadow]
  146 |                 int d = opus_duration(last_pkt, next_pkt - last_pkt);
      |                     ^
libavformat/oggparseopus.c:129:18: note: shadowed declaration is here
  129 |         int seg, d;
      |                  ^
--
libavformat/oggparsevorbis.c: In function ‘vorbis_packet’:
libavformat/oggparsevorbis.c:449:21: warning: declaration of ‘d’ shadows a previous local [-Wshadow]
  449 |                 int d = av_vorbis_parse_frame_flags(priv->vp, last_pkt, 1, &flags);
      |                     ^
libavformat/oggparsevorbis.c:430:18: note: shadowed declaration is here
  430 |         int seg, d;
      |                  ^
--
libavformat/rawdec.c: In function ‘mjpeg_probe’:
libavformat/rawdec.c:214:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  214 |         int i;
      |             ^
libavformat/rawdec.c:164:9: note: shadowed declaration is here
  164 |     int i;
      |         ^
--
libavformat/rmenc.c: In function ‘rv10_write_header’:
libavformat/rmenc.c:97:21: warning: declaration of ‘stream’ shadows a previous local [-Wshadow]
   97 |         StreamInfo *stream = &rm->streams[i];
      |                     ^~~~~~
libavformat/rmenc.c:75:17: note: shadowed declaration is here
   75 |     StreamInfo *stream;
      |                 ^~~~~~
--
libavformat/rmdec.c: In function ‘ivr_read_header’:
libavformat/rmdec.c:1289:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1289 |                 int j;
      |                     ^
libavformat/rmdec.c:1182:12: note: shadowed declaration is here
 1182 |     int i, j, n, count, nb_streams = 0, ret;
      |            ^
--
libavformat/rtpdec_jpeg.c: In function ‘jpeg_parse_packet’:
libavformat/rtpdec_jpeg.c:364:17: warning: declaration of ‘buf’ shadows a parameter [-Wshadow]
  364 |         uint8_t buf[2] = { 0xff, EOI };
      |                 ^~~
libavformat/rtpdec_jpeg.c:216:45: note: shadowed declaration is here
  216 |                              const uint8_t *buf, int len, uint16_t seq,
      |                              ~~~~~~~~~~~~~~~^~~
--
libavformat/rtpdec_qt.c: In function ‘qt_rtp_parse_packet’:
libavformat/rtpdec_qt.c:207:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  207 |             int ret = av_packet_from_data(pkt, qt->pkt->data, qt->pkt->size);
      |                 ^~~
libavformat/rtpdec_qt.c:63:19: note: shadowed declaration is here
   63 |         keyframe, ret;
      |                   ^~~
--
libavformat/rtpdec_xiph.c: In function ‘xiph_handle_packet’:
libavformat/rtpdec_xiph.c:190:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  190 |             int ret = ff_rtp_finalize_packet(pkt, &data->fragment, st->index);
      |                 ^~~
libavformat/rtpdec_xiph.c:67:52: note: shadowed declaration is here
   67 |     int ident, fragmented, tdt, num_pkts, pkt_len, ret;
      |                                                    ^~~
--
libavformat/rtpenc_mpegts.c: In function ‘rtp_mpegts_write_header’:
libavformat/rtpenc_mpegts.c:80:19: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
   80 |         AVStream* st = avformat_new_stream(mpegts_ctx, NULL);
      |                   ^~
libavformat/rtpenc_mpegts.c:64:15: note: shadowed declaration is here
   64 |     AVStream *st;
      |               ^~
--
libavformat/rtspdec.c: In function ‘rtsp_read_packet’:
libavformat/rtspdec.c:919:35: warning: declaration of ‘reply1’ shadows a previous local [-Wshadow]
  919 |                 RTSPMessageHeader reply1, *reply = &reply1;
      |                                   ^~~~~~
libavformat/rtspdec.c:852:23: note: shadowed declaration is here
  852 |     RTSPMessageHeader reply1, *reply = &reply1;
      |                       ^~~~~~
libavformat/rtspdec.c:919:44: warning: declaration of ‘reply’ shadows a previous local [-Wshadow]
  919 |                 RTSPMessageHeader reply1, *reply = &reply1;
      |                                            ^~~~~
libavformat/rtspdec.c:852:32: note: shadowed declaration is here
  852 |     RTSPMessageHeader reply1, *reply = &reply1;
      |                                ^~~~~
libavformat/rtsp.c: In function ‘ff_rtsp_read_reply’:
libavformat/rtsp.c:1275:14: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
 1275 |         char buf[MAX_URL_SIZE];
      |              ^~~
libavformat/rtsp.c:1190:10: note: shadowed declaration is here
 1190 |     char buf[MAX_URL_SIZE], buf1[MAX_URL_SIZE], *q;
      |          ^~~
--
libavformat/rtsp.c: In function ‘ff_rtsp_make_setup_request’:
libavformat/rtsp.c:1616:30: warning: declaration of ‘host’ shadows a parameter [-Wshadow]
 1616 |             char proto[128], host[128], path[512], auth[128];
      |                              ^~~~
libavformat/rtsp.c:1455:64: note: shadowed declaration is here
 1455 | int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
      |                                                    ~~~~~~~~~~~~^~~~
libavformat/rtsp.c:1617:17: warning: declaration of ‘port’ shadows a parameter [-Wshadow]
 1617 |             int port;
      |                 ^~~~
libavformat/rtsp.c:1455:74: note: shadowed declaration is here
 1455 | int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
      |                                                                      ~~~~^~~~
CC	libavformat/sdns.o
libavformat/rtsp.c:1671:17: warning: declaration of ‘port’ shadows a parameter [-Wshadow]
 1671 |             int port, ttl;
      |                 ^~~~
libavformat/rtsp.c:1455:74: note: shadowed declaration is here
 1455 | int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
      |                                                                      ~~~~^~~~
--
libavformat/sdp.c: In function ‘extradata2psets_hevc’:
libavformat/sdp.c:278:13: warning: declaration of ‘num_nalus’ shadows a previous local [-Wshadow]
  278 |         int num_nalus, nalu_type;
      |             ^~~~~~~~~
libavformat/sdp.c:247:21: note: shadowed declaration is here
  247 |     int num_arrays, num_nalus;
      |                     ^~~~~~~~~
--
libavformat/seek.c: In function ‘read_timestamp’:
libavformat/seek.c:281:41: warning: declaration of ‘read_timestamp’ shadows a global declaration [-Wshadow]
  281 |                               int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t ))
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/seek.c:280:16: note: shadowed declaration is here
  280 | static int64_t read_timestamp(AVFormatContext *s, int stream_index, int64_t *ppos, int64_t pos_limit,
      |                ^~~~~~~~~~~~~~
--
libavformat/smacker.c: In function ‘smacker_read_header’:
libavformat/smacker.c:180:32: warning: declaration of ‘par’ shadows a previous local [-Wshadow]
  180 |             AVCodecParameters *par;
      |                                ^~~
libavformat/smacker.c:99:24: note: shadowed declaration is here
   99 |     AVCodecParameters *par;
      |                        ^~~
--
libavformat/smoothstreamingenc.c: In function ‘parse_fragment’:
libavformat/smoothstreamingenc.c:415:18: warning: declaration of ‘len’ shadows a previous local [-Wshadow]
  415 |         uint32_t len = avio_rb32(in);
      |                  ^~~
libavformat/smoothstreamingenc.c:396:14: note: shadowed declaration is here
  396 |     uint32_t len;
      |              ^~~
--
libavformat/srtpproto.c: In function ‘srtp_open’:
libavformat/srtpproto.c:64:80: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
   64 | static int srtp_open(URLContext *h, const char *uri, int flags, AVDictionary **options)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~
libavformat/srtpproto.c:40:23: note: shadowed declaration is here
   40 | static const AVOption options[] = {
      |                       ^~~~~~~
--
libavformat/tee.c: In function ‘open_slave’:
libavformat/tee.c:158:19: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  158 |     AVDictionary *options = NULL, *bsf_options = NULL;
      |                   ^~~~~~~
libavformat/tee.c:68:23: note: shadowed declaration is here
   68 | static const AVOption options[] = {
      |                       ^~~~~~~
--
libavformat/udp.c: In function ‘udp_set_multicast_sources’:
libavformat/udp.c:280:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  280 |         int i;
      |             ^
libavformat/udp.c:274:9: note: shadowed declaration is here
  274 |     int i;
      |         ^
--
libavformat/vividas.c: In function ‘track_header’:
libavformat/vividas.c:420:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  420 |                 int ret = avio_read(pb, &p[offset], data_len[j]);
      |                     ^~~
libavformat/vividas.c:285:15: note: shadowed declaration is here
  285 |     int i, j, ret;
      |               ^~~
--
libavformat/vorbiscomment.c: In function ‘ff_vorbiscomment_write’:
libavformat/vorbiscomment.c:96:20: warning: declaration of ‘m’ shadows a parameter [-Wshadow]
   96 |             int h, m, s, ms;
      |                    ^
libavformat/vorbiscomment.c:65:65: note: shadowed declaration is here
   65 | int ff_vorbiscomment_write(AVIOContext *pb, const AVDictionary *m,
      |                                             ~~~~~~~~~~~~~~~~~~~~^
--
CC	libavformat/wtv_common.o
libavformat/webmdashenc.c:385:19: warning: declaration of ‘st’ shadows a previous local [-Wshadow]
  385 |         AVStream *st = s->streams[as->streams[i]];
      |                   ^~
libavformat/webmdashenc.c:310:21: note: shadowed declaration is here
  310 |     const AVStream *st = s->streams[as->streams[0]];
      |                     ^~
libavformat/webmdashenc.c: In function ‘webm_dash_manifest_write_header’:
libavformat/webmdashenc.c:485:19: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  485 |     for (unsigned i = 0; i < s->nb_streams; i++) {
      |                   ^
libavformat/webmdashenc.c:480:9: note: shadowed declaration is here
  480 |     int i;
      |         ^
--
libavformat/webpenc.c: In function ‘webp_write_packet’:
libavformat/webpenc.c:166:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  166 |         int ret;
      |             ^~~
libavformat/webpenc.c:153:9: note: shadowed declaration is here
  153 |     int ret;
      |         ^~~
--
libavformat/yuv4mpegdec.c: In function ‘yuv4_read_header’:
libavformat/yuv4mpegdec.c:200:29: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  200 |                 for (size_t i = 0; i < FF_ARRAY_ELEMS(pix_fmt_array); i++)
      |                             ^
libavformat/yuv4mpegdec.c:39:9: note: shadowed declaration is here
   39 |     int i;
      |         ^
--
libavcodec/4xm.c: In function ‘idct_put’:
libavcodec/4xm.c:586:17: warning: declaration of ‘y’ shadows a parameter [-Wshadow]
  586 |             int y;
      |                 ^
libavcodec/4xm.c:558:57: note: shadowed declaration is here
  558 | static inline void idct_put(FourXContext *f, int x, int y)
      |                                                     ~~~~^
--
libavcodec/aac/aacdec.c: In function ‘ff_aac_decode_init’:
libavcodec/aac/aacdec.c:1214:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1214 |             int ret = ff_aac_set_default_channel_config(ac, avctx, layout_map,
      |                 ^~~
libavcodec/aac/aacdec.c:1178:9: note: shadowed declaration is here
 1178 |     int ret;
      |         ^~~
--
libavcodec/aac/aacdec_usac.c: In function ‘spectrum_decode’:
libavcodec/aac/aacdec_usac.c:1327:24: warning: declaration of ‘us’ shadows a previous local [-Wshadow]
 1327 |         AACUsacStereo *us = &cpe->us;
      |                        ^~
libavcodec/aac/aacdec_usac.c:1287:20: note: shadowed declaration is here
 1287 |     AACUsacStereo *us = &cpe->us;
      |                    ^~
--
libavcodec/aac/aacdec_usac.c: In function ‘parse_audio_preroll’:
libavcodec/aac/aacdec_usac.c:1559:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1559 |         for (int i = 0; i < au_len; i++)
      |                  ^
libavcodec/aac/aacdec_usac.c:1542:14: note: shadowed declaration is here
 1542 |     for (int i = 0; i < num_preroll_frames; i++) {
      |              ^
--
libavcodec/aacpsy.c: In function ‘psy_hp_filter’:
libavcodec/aacpsy.c:628:77: warning: declaration of ‘psy_fir_coeffs’ shadows a global declaration [-Wshadow]
  628 | static void psy_hp_filter(const float *firbuf, float *hpfsmpl, const float *psy_fir_coeffs)
      |                                                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~
libavcodec/aacpsy.c:220:20: note: shadowed declaration is here
  220 | static const float psy_fir_coeffs[] = {
      |                    ^~~~~~~~~~~~~~
--
libavcodec/aacps.c: In function ‘decorrelation’:
libavcodec/aacps.c:428:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  428 |         int i = k_to_i[k];
      |             ^
libavcodec/aacps.c:413:9: note: shadowed declaration is here
  413 |     int i, k, m, n;
      |         ^
--
libavcodec/aacps.c: In function ‘decorrelation’:
libavcodec/aacps.c:428:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  428 |         int i = k_to_i[k];
      |             ^
libavcodec/aacps.c:502:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  502 |         int i = k_to_i[k];
      |             ^
libavcodec/aacps.c:413:9: note: shadowed declaration is here
  413 |     int i, k, m, n;
      |         ^
--
      |         ^
libavcodec/aacps.c:510:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  510 |         int i = k_to_i[k];
      |             ^
libavcodec/aacps.c:413:9: note: shadowed declaration is here
  413 |     int i, k, m, n;
      |         ^
libavcodec/aacps.c:502:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  502 |         int i = k_to_i[k];
      |             ^
libavcodec/aacps.c:413:9: note: shadowed declaration is here
  413 |     int i, k, m, n;
      |         ^
libavcodec/aacps.c:510:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  510 |         int i = k_to_i[k];
      |             ^
libavcodec/aacps.c:413:9: note: shadowed declaration is here
  413 |     int i, k, m, n;
      |         ^
--
libavcodec/ac3enc_template.c: In function ‘apply_channel_coupling’:
libavcodec/ac3enc_template.c:254:17: warning: declaration of ‘bnd’ shadows a previous local [-Wshadow]
  254 |             int bnd, min_exp, max_exp, master_exp;
      |                 ^~~
libavcodec/ac3enc_template.c:96:29: note: shadowed declaration is here
   96 |     int av_uninit(blk), ch, bnd, i, j;
      |                             ^~~
--
libavcodec/ac3enc_template.c: In function ‘apply_channel_coupling’:
libavcodec/ac3enc_template.c:254:17: warning: declaration of ‘bnd’ shadows a previous local [-Wshadow]
  254 |             int bnd, min_exp, max_exp, master_exp;
      |                 ^~~
In file included from libavcodec/ac3dec_float.c:38:
libavcodec/ac3dec.c: In function ‘ac3_decode_frame’:
libavcodec/ac3enc_template.c:96:29: note: shadowed declaration is here
--
      |                             ^~~
libavcodec/ac3dec.c:1673:13: warning: declaration of ‘err’ shadows a previous local [-Wshadow]
 1673 |         int err;
      |             ^~~
libavcodec/ac3dec.c:1494:18: note: shadowed declaration is here
 1494 |     int blk, ch, err, offset, ret;
      |                  ^~~
libavcodec/ac3dec.c:1755:25: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1755 |                     int i;
      |                         ^
CC	libavcodec/adpcm.o
libavcodec/ac3dec.c:1495:9: note: shadowed declaration is here
 1495 |     int i;
--
libavcodec/ac3dec.c: In function ‘ac3_decode_frame’:
libavcodec/ac3dec.c:1673:13: warning: declaration of ‘err’ shadows a previous local [-Wshadow]
 1673 |         int err;
      |             ^~~
libavcodec/ac3dec.c:1494:18: note: shadowed declaration is here
 1494 |     int blk, ch, err, offset, ret;
      |                  ^~~
libavcodec/ac3dec.c:1755:25: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1755 |                     int i;
      |                         ^
libavcodec/ac3dec.c:1495:9: note: shadowed declaration is here
 1495 |     int i;
      |         ^
libavcodec/ac3enc.c: In function ‘allocate_buffers’:
libavcodec/ac3enc.c:2421:14: warning: declaration of ‘ch’ shadows a previous local [-Wshadow]
 2421 |     for (int ch = 0; ch < s->channels; ch++) {
      |              ^~
libavcodec/ac3enc.c:2414:14: note: shadowed declaration is here
 2414 |     int blk, ch;
      |              ^~
--
libavcodec/adpcm.c: In function ‘adpcm_swf_decode’:
libavcodec/adpcm.c:785:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  785 |             int i;
      |                 ^
libavcodec/adpcm.c:768:9: note: shadowed declaration is here
  768 |     int i;
      |         ^
--
libavcodec/adpcmenc.c: In function ‘adpcm_compress_trellis’:
libavcodec/adpcmenc.c:417:34: warning: declaration of ‘u’ shadows a previous local [-Wshadow]
  417 |                     TrellisNode *u;\
      |                                  ^
libavcodec/adpcmenc.c:477:21: note: in expansion of macro ‘STORE_NODE’
  477 |                     STORE_NODE(ms, FFMAX(16,
      |                     ^~~~~~~~~~
--
      |                       ^
libavcodec/adpcmenc.c:417:34: warning: declaration of ‘u’ shadows a previous local [-Wshadow]
  417 |                     TrellisNode *u;\
      |                                  ^
libavcodec/adpcmenc.c:498:21: note: in expansion of macro ‘STORE_NODE’
  498 |                     STORE_NODE(NAME, STEP_INDEX);\
      |                     ^~~~~~~~~~
--
      |                       ^
libavcodec/adpcmenc.c:417:34: warning: declaration of ‘u’ shadows a previous local [-Wshadow]
  417 |                     TrellisNode *u;\
      |                                  ^
libavcodec/adpcmenc.c:498:21: note: in expansion of macro ‘STORE_NODE’
  498 |                     STORE_NODE(NAME, STEP_INDEX);\
      |                     ^~~~~~~~~~
--
libavcodec/alac.c: In function ‘decode_element’:
libavcodec/alac.c:334:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  334 |             int ret = rice_decompress(alac, alac->predict_error_buffer[ch],
      |                 ^~~
libavcodec/alac.c:243:73: note: shadowed declaration is here
  243 |     int has_size, bps, is_compressed, decorr_shift, decorr_left_weight, ret;
      |                                                                         ^~~
--
libavcodec/alsdec.c: In function ‘read_var_block_data’:
libavcodec/alsdec.c:828:22: warning: declaration of ‘k’ shadows a previous local [-Wshadow]
  828 |         unsigned int k    [8];
      |                      ^
libavcodec/alsdec.c:644:18: note: shadowed declaration is here
  644 |     unsigned int k;
      |                  ^
libavcodec/alsdec.c: In function ‘read_frame_data’:
libavcodec/alsdec.c:1703:27: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1703 |         int            b, ret;
      |                           ^~~
libavcodec/alsdec.c:1650:9: note: shadowed declaration is here
 1650 |     int ret;
      |         ^~~
--
libavcodec/aom_film_grain_template.c: In function ‘apply_grain_row_16’:
libavcodec/aom_film_grain_template.c:503:19: warning: declaration of ‘bh’ shadows a previous local [-Wshadow]
  503 |         const int bh = FFMIN(out->height - row * FG_BLOCK_SIZE, FG_BLOCK_SIZE);
      |                   ^~
libavcodec/aom_film_grain_template.c:497:15: note: shadowed declaration is here
  497 |     const int bh = (FFMIN(out->height - row * FG_BLOCK_SIZE, FG_BLOCK_SIZE) + ss_y) >> ss_y;
      |               ^~
--
libavcodec/aom_film_grain_template.c: In function ‘apply_grain_row_8’:
libavcodec/aom_film_grain_template.c:503:19: warning: declaration of ‘bh’ shadows a previous local [-Wshadow]
  503 |         const int bh = FFMIN(out->height - row * FG_BLOCK_SIZE, FG_BLOCK_SIZE);
      |                   ^~
libavcodec/aom_film_grain_template.c:497:15: note: shadowed declaration is here
  497 |     const int bh = (FFMIN(out->height - row * FG_BLOCK_SIZE, FG_BLOCK_SIZE) + ss_y) >> ss_y;
      |               ^~
libavcodec/aom_film_grain.c: In function ‘ff_aom_parse_film_grain_sets’:
libavcodec/aom_film_grain.c:141:28: warning: declaration of ‘payload_size’ shadows a parameter [-Wshadow]
  141 |         int payload_4byte, payload_size, set_idx, apply_units_log2, vsc_flag;
      |                            ^~~~~~~~~~~~
libavcodec/aom_film_grain.c:123:62: note: shadowed declaration is here
  123 |                                  const uint8_t *payload, int payload_size)
      |                                                          ~~~~^~~~~~~~~~~~
--
libavcodec/asvdec.c: In function ‘asv2_decode_block’:
libavcodec/asvdec.c:176:19: warning: declaration of ‘ccp’ shadows a previous local [-Wshadow]
  176 |         const int ccp = asv2_get_vlc2(&a->gb, ac_ccp_vlc, AC_CCP_VLC_BITS);
      |                   ^~~
libavcodec/asvdec.c:159:19: note: shadowed declaration is here
  159 |     int i, count, ccp;
      |                   ^~~
--
libavcodec/atrac3plus.c: In function ‘ff_atrac3p_init_vlcs’:
libavcodec/atrac3plus.c:82:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   82 |     for (int i = 0; i < 4; i++) {
      |              ^
libavcodec/atrac3plus.c:78:9: note: shadowed declaration is here
   78 |     int i, tab_offset = 0;
      |         ^
libavcodec/atrac3plus.c:90:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   90 |     for (int i = 0; i < 8; i++)
      |              ^
libavcodec/atrac3plus.c:78:9: note: shadowed declaration is here
   78 |     int i, tab_offset = 0;
      |         ^
--
libavcodec/avcodec.c: In function ‘avcodec_open2’:
libavcodec/avcodec.c:284:24: warning: declaration of ‘codec2’ shadows a previous local [-Wshadow]
  284 |         const AVCodec *codec2;
      |                        ^~~~~~
libavcodec/avcodec.c:146:20: note: shadowed declaration is here
  146 |     const FFCodec *codec2;
      |                    ^~~~~~
--
libavcodec/binkaudio.c: In function ‘decode_block’:
libavcodec/binkaudio.c:255:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  255 |             for (int i = 2; i < s->frame_len; i += 2)
      |                      ^
libavcodec/binkaudio.c:176:13: note: shadowed declaration is here
  176 |     int ch, i, j, k;
      |             ^
libavcodec/binkaudio.c:265:13: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  265 |         int j;
      |             ^
libavcodec/binkaudio.c:176:16: note: shadowed declaration is here
  176 |     int ch, i, j, k;
      |                ^
--
libavcodec/bmp.c: In function ‘bmp_decode_frame’:
libavcodec/bmp.c:290:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  290 |                 int j;
      |                     ^
libavcodec/bmp.c:41:12: note: shadowed declaration is here
   41 |     int i, j, n, linesize, ret;
      |            ^
libavcodec/bmp.c:319:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  319 |                 int j;
      |                     ^
libavcodec/bmp.c:41:12: note: shadowed declaration is here
   41 |     int i, j, n, linesize, ret;
      |            ^
libavcodec/bmp.c:347:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  347 |             int j;
      |                 ^
libavcodec/bmp.c:41:12: note: shadowed declaration is here
   41 |     int i, j, n, linesize, ret;
      |            ^
libavcodec/bmp.c:348:22: warning: declaration of ‘ptr’ shadows a previous local [-Wshadow]
  348 |             uint8_t *ptr = p->data[0] + p->linesize[0]*i + 3;
      |                      ^~~
libavcodec/bmp.c:44:14: note: shadowed declaration is here
   44 |     uint8_t *ptr;
      |              ^~~
--
libavcodec/cbs.c: In function ‘cbs_clone_noncomplex_unit_content’:
libavcodec/cbs.c:957:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  957 |     for (int i = 0; i < desc->type.ref.nb_offsets; i++) {
      |              ^
libavcodec/cbs.c:948:14: note: shadowed declaration is here
  948 |     int err, i;
      |              ^
--
libavcodec/cbs_av1_syntax_template.c: In function ‘cbs_av1_read_tile_info’:
libavcodec/cbs_av1_syntax_template.c:630:27: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  630 |         for (int off = 0, i = 0; off < sb_cols; off += tile_width_sb)
      |                           ^
libavcodec/cbs_av1_syntax_template.c:598:9: note: shadowed declaration is here
  598 |     int i, err;
      |         ^
libavcodec/cbs_av1_syntax_template.c:642:27: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  642 |         for (int off = 0, i = 0; off < sb_rows; off += tile_height_sb)
      |                           ^
libavcodec/cbs_av1_syntax_template.c:598:9: note: shadowed declaration is here
  598 |     int i, err;
      |         ^
--
libavcodec/cbs_av1_syntax_template.c: In function ‘cbs_av1_write_tile_info’:
libavcodec/cbs_av1_syntax_template.c:630:27: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  630 |         for (int off = 0, i = 0; off < sb_cols; off += tile_width_sb)
      |                           ^
libavcodec/cbs_av1_syntax_template.c:598:9: note: shadowed declaration is here
  598 |     int i, err;
      |         ^
libavcodec/cbs_av1_syntax_template.c:642:27: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  642 |         for (int off = 0, i = 0; off < sb_rows; off += tile_height_sb)
      |                           ^
libavcodec/cbs_av1_syntax_template.c:598:9: note: shadowed declaration is here
  598 |     int i, err;
      |         ^
--
libavcodec/cbs_mpeg2_syntax_template.c: In function ‘cbs_mpeg2_read_extra_information’:
libavcodec/cbs_mpeg2.c:57:28: warning: declaration of ‘bit’ shadows a previous local [-Wshadow]
   57 |         av_unused uint32_t bit = value; \
      |                            ^~~
libavcodec/cbs_mpeg2_syntax_template.c:200:9: note: in expansion of macro ‘bit’
  200 |         bit(marker_name, 1);
      |         ^~~
--
      |             ^~~
libavcodec/cbs_mpeg2.c:57:28: warning: declaration of ‘bit’ shadows a previous local [-Wshadow]
   57 |         av_unused uint32_t bit = value; \
      |                            ^~~
libavcodec/cbs_mpeg2_syntax_template.c:205:5: note: in expansion of macro ‘bit’
  205 |     bit(marker_name, 0);
      |     ^~~
--
libavcodec/cbs_h264_syntax_template.c: In function ‘cbs_h264_read_film_grain_characteristics’:
libavcodec/cbs_h264_syntax_template.c:735:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  735 |         int i, k = -1;
      |             ^
libavcodec/cbs_h264_syntax_template.c:727:17: note: shadowed declaration is here
  727 |     int err, c, i, j;
      |                 ^
libavcodec/cbs_av1.c: In function ‘cbs_av1_split_fragment’:
libavcodec/cbs_av1.c:731:25: warning: declaration of ‘header’ shadows a parameter [-Wshadow]
  731 |         AV1RawOBUHeader header;
      |                         ^~~~~~
libavcodec/cbs_av1.c:675:39: note: shadowed declaration is here
  675 |                                   int header)
      |                                   ~~~~^~~~~~
--
libavcodec/cbs_h264_syntax_template.c: In function ‘cbs_h264_write_film_grain_characteristics’:
libavcodec/cbs_h264_syntax_template.c:735:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  735 |         int i, k = -1;
      |             ^
libavcodec/cbs_h264_syntax_template.c:727:17: note: shadowed declaration is here
  727 |     int err, c, i, j;
      |                 ^
--
libavcodec/cfhdenc.c: In function ‘cfhd_encode_frame’:
libavcodec/cfhdenc.c:526:22: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
  526 |             int16_t *buf = s->plane[plane].l_h[4];
      |                      ^~~
libavcodec/cfhdenc.c:445:18: note: shadowed declaration is here
  445 |         int16_t *buf;
      |                  ^~~
libavcodec/cfhdenc.c:674:17: warning: declaration of ‘a_width’ shadows a previous local [-Wshadow]
  674 |             int a_width = s->plane[p].band[l][0].a_width;
      |                 ^~~~~~~
libavcodec/cfhdenc.c:617:13: note: shadowed declaration is here
  617 |         int a_width = s->plane[p].band[0][0].a_width;
      |             ^~~~~~~
libavcodec/cfhdenc.c:675:17: warning: declaration of ‘width’ shadows a previous local [-Wshadow]
  675 |             int width = s->plane[p].band[l][0].width;
      |                 ^~~~~
libavcodec/cfhdenc.c:616:13: note: shadowed declaration is here
  616 |         int width = s->plane[p].band[0][0].width;
      |             ^~~~~
libavcodec/cfhdenc.c:677:17: warning: declaration of ‘height’ shadows a previous local [-Wshadow]
  677 |             int height = s->plane[p].band[l][0].height;
      |                 ^~~~~~
libavcodec/cfhdenc.c:618:13: note: shadowed declaration is here
  618 |         int height = s->plane[p].band[0][0].height;
      |             ^~~~~~
libavcodec/cfhdenc.c:713:26: warning: declaration of ‘data’ shadows a previous local [-Wshadow]
  713 |                 int16_t *data = s->plane[p].subband[1 + l * 3 + i];
      |                          ^~~~
libavcodec/cfhdenc.c:619:18: note: shadowed declaration is here
  619 |         int16_t *data = s->plane[p].subband[0];
      |                  ^~~~
--
libavcodec/cri.c: In function ‘cri_decode_frame’:
libavcodec/cri.c:333:24: warning: declaration of ‘gb’ shadows a previous local [-Wshadow]
  333 |         GetByteContext gb;
      |                        ^~
libavcodec/cri.c:176:21: note: shadowed declaration is here
  176 |     GetByteContext *gb = &s->gb;
      |                     ^~
--
libavcodec/cuviddec.c: In function ‘cuvid_output_frame’:
libavcodec/cuviddec.c:583:26: warning: declaration of ‘offset’ shadows a previous local [-Wshadow]
  583 |             unsigned int offset = 0;
      |                          ^~~~~~
libavcodec/cuviddec.c:531:13: note: shadowed declaration is here
  531 |         int offset = 0;
      |             ^~~~~~
--
libavcodec/dca_lbr.c: In function ‘synth_tones’:
libavcodec/dca_lbr.c:1642:19: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
 1642 |             float s = amp * cos_tab[(t->phs[ch] + 64) & 255];
      |                   ^
libavcodec/dca_lbr.c:1625:40: note: shadowed declaration is here
 1625 | static void synth_tones(DCALbrDecoder *s, int ch, float *values,
      |                         ~~~~~~~~~~~~~~~^
--
libavcodec/diracdec.c: In function ‘dirac_decode_frame_internal’:
libavcodec/diracdec.c:1927:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1927 |                 int ret = interpolate_refplane(s, s->ref_pics[i], comp, p->width, p->height);
      |                     ^~~
libavcodec/diracdec.c:1876:9: note: shadowed declaration is here
 1876 |     int ret;
      |         ^~~
--
libavcodec/dnxhddec.c: In function ‘dnxhd_decode_dct_block’:
libavcodec/get_bits.h:576:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  576 |         int n, nb_bits;                                         \
      |             ^
libavcodec/dnxhddec.c:397:5: note: in expansion of macro ‘GET_VLC’
  397 |     GET_VLC(len, bs, &row->gb, ctx->dc_vlc.table, DNXHD_DC_VLC_BITS, 1);
      |     ^~~~~~~
--
      |                                                    ~~~~^
libavcodec/get_bits.h:576:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  576 |         int n, nb_bits;                                         \
      |             ^
libavcodec/dnxhddec.c:414:5: note: in expansion of macro ‘GET_VLC’
  414 |     GET_VLC(index1, bs, &row->gb, ctx->ac_vlc.table,
      |     ^~~~~~~
--
      |                                                    ~~~~^
libavcodec/get_bits.h:576:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  576 |         int n, nb_bits;                                         \
      |             ^
libavcodec/dnxhddec.c:432:13: note: in expansion of macro ‘GET_VLC’
  432 |             GET_VLC(run, bs, &row->gb, ctx->run_vlc.table,
      |             ^~~~~~~
--
      |                                                    ~~~~^
libavcodec/get_bits.h:576:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  576 |         int n, nb_bits;                                         \
      |             ^
libavcodec/dnxhddec.c:453:9: note: in expansion of macro ‘GET_VLC’
  453 |         GET_VLC(index1, bs, &row->gb, ctx->ac_vlc.table,
      |         ^~~~~~~
--
libavcodec/dnxhddec.c: In function ‘dnxhd_decode_row’:
libavcodec/dnxhddec.c:610:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  610 |         int ret = dnxhd_decode_macroblock(ctx, row, data, x, rownb);
      |             ^~~
libavcodec/dnxhddec.c:599:12: note: shadowed declaration is here
  599 |     int x, ret;
      |            ^~~
--
libavcodec/dnxhdenc.c: In function ‘dnxhd_init_vlc’:
libavcodec/dnxhdenc.c:257:13: warning: declaration of ‘run’ shadows a previous local [-Wshadow]
  257 |         int run = ctx->cid_table->run[i];
      |             ^~~
libavcodec/dnxhdenc.c:212:22: note: shadowed declaration is here
  212 |     int i, j, level, run;
      |                      ^~~
--
libavcodec/dvbsubdec.c: In function ‘dvbsub_decode’:
libavcodec/dvbsubdec.c:1496:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1496 |             int ret = 0;
      |                 ^~~
libavcodec/dvbsubdec.c:1453:9: note: shadowed declaration is here
 1453 |     int ret = 0;
      |         ^~~
--
libavcodec/dvdec.c: In function ‘dv_init_static’:
libavcodec/dvdec.c:183:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  183 |     for (int i = 0; i < dv_vlc.table_size; i++) {
      |              ^
libavcodec/dvdec.c:158:9: note: shadowed declaration is here
  158 |     int i, j;
      |         ^
--
libavcodec/dv_tablegen.h: In function ‘dv_vlc_map_tableinit’:
libavcodec/dv_tablegen.h:55:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   55 |     for (int i = 0; i < NB_DV_VLC; i++) {
      |              ^
libavcodec/dv_tablegen.h:54:9: note: shadowed declaration is here
   54 |     int i, j;
      |         ^
--
libavcodec/eatgq.c: In function ‘tgq_decode_mb’:
libavcodec/eatgq.c:169:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  169 |             int ret = tgq_decode_block(s, s->block[i], &gb);
      |                 ^~~
libavcodec/eatgq.c:164:13: note: shadowed declaration is here
  164 |         int ret = init_get_bits8(&gb, gbyte->buffer, FFMIN(bytestream2_get_bytes_left(gbyte), mode));
      |             ^~~
--
libavcodec/elbg.c: In function ‘simple_lbg’:
libavcodec/elbg.c:188:13: warning: declaration of ‘idx’ shadows a previous local [-Wshadow]
  188 |         int idx = dist[0] > dist[1];
      |             ^~~
libavcodec/elbg.c:161:12: note: shadowed declaration is here
  161 |     int i, idx;
      |            ^~~
libavcodec/elbg.c: In function ‘do_elbg’:
libavcodec/elbg.c:423:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  423 |         for (int i = 0; i < elbg->num_cb; i++)
      |                  ^
libavcodec/elbg.c:369:9: note: shadowed declaration is here
  369 |     int i, j, steps = 0;
      |         ^
--
libavcodec/error_resilience.c: In function ‘guess_mv’:
libavcodec/error_resilience.c:433:23: warning: declaration of ‘mb_y’ shadows a previous local [-Wshadow]
  433 |             const int mb_y= mb_xy / s->mb_stride;
      |                       ^~~~
libavcodec/error_resilience.c:397:15: note: shadowed declaration is here
  397 |     int mb_x, mb_y;
      |               ^~~~
libavcodec/error_resilience.c:434:23: warning: declaration of ‘mb_x’ shadows a previous local [-Wshadow]
  434 |             const int mb_x= mb_xy % s->mb_stride;
      |                       ^~~~
libavcodec/error_resilience.c:397:9: note: shadowed declaration is here
  397 |     int mb_x, mb_y;
      |         ^~~~
libavcodec/error_resilience.c:485:27: warning: declaration of ‘mb_x’ shadows a previous local [-Wshadow]
  485 |                 const int mb_x = blocklist[blocklist_index][0];
      |                           ^~~~
libavcodec/error_resilience.c:397:9: note: shadowed declaration is here
  397 |     int mb_x, mb_y;
      |         ^~~~
libavcodec/error_resilience.c:486:27: warning: declaration of ‘mb_y’ shadows a previous local [-Wshadow]
  486 |                 const int mb_y = blocklist[blocklist_index][1];
      |                           ^~~~
libavcodec/error_resilience.c:397:15: note: shadowed declaration is here
  397 |     int mb_x, mb_y;
      |               ^~~~
libavcodec/error_resilience.c:700:23: warning: declaration of ‘mb_x’ shadows a previous local [-Wshadow]
  700 |             const int mb_x = blocklist[blocklist_index][0];
      |                       ^~~~
libavcodec/error_resilience.c:397:9: note: shadowed declaration is here
  397 |     int mb_x, mb_y;
      |         ^~~~
libavcodec/error_resilience.c:701:23: warning: declaration of ‘mb_y’ shadows a previous local [-Wshadow]
  701 |             const int mb_y = blocklist[blocklist_index][1];
      |                       ^~~~
libavcodec/error_resilience.c:397:15: note: shadowed declaration is here
  397 |     int mb_x, mb_y;
      |               ^~~~
--
CC	libavcodec/evc_ps.o
libavcodec/error_resilience.c:981:17: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
  981 |             int error       = s->error_status_table[mb_xy];
      |                 ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1003:17: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1003 |             int error       = s->error_status_table[mb_xy];
      |                 ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1052:23: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1052 |             int       error = s->error_status_table[mb_xy];
      |                       ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1091:17: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1091 |             int error = s->error_status_table[mb_xy];
      |                 ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
CC	libavcodec/evrcdec.o
libavcodec/error_resilience.c:1102:13: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1102 |         int error = s->error_status_table[mb_xy];
      |             ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1125:13: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1125 |         int error = s->error_status_table[mb_xy];
      |             ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1150:17: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1150 |             int error = s->error_status_table[mb_xy];
      |                 ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1187:21: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1187 |                 int error = s->error_status_table[mb_xy];
      |                     ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1291:17: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1291 |             int error = s->error_status_table[mb_xy];
      |                 ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
libavcodec/error_resilience.c:1333:19: warning: declaration of ‘error’ shadows a previous local [-Wshadow]
 1333 |         int       error = s->error_status_table[mb_xy];
      |                   ^~~~~
libavcodec/error_resilience.c:899:24: note: shadowed declaration is here
  899 |     int i, mb_x, mb_y, error, error_type, dc_error, mv_error, ac_error;
      |                        ^~~~~
--
libavcodec/exr.c: In function ‘dwa_uncompress’:
libavcodec/exr.c:1033:24: warning: declaration of ‘agb’ shadows a previous local [-Wshadow]
 1033 |         GetByteContext agb = gb;
      |                        ^~~
libavcodec/exr.c:992:24: note: shadowed declaration is here
  992 |     GetByteContext gb, agb;
      |                        ^~~
libavcodec/exr.c:1064:24: warning: declaration of ‘agb’ shadows a previous local [-Wshadow]
 1064 |         GetByteContext agb = gb;
      |                        ^~~
libavcodec/exr.c:992:24: note: shadowed declaration is here
  992 |     GetByteContext gb, agb;
      |                        ^~~
--
libavcodec/exr.c: In function ‘decode_block’:
libavcodec/exr.c:1381:32: warning: declaration of ‘src’ shadows a previous local [-Wshadow]
 1381 |                 const uint8_t *src;
      |                                ^~~
libavcodec/exr.c:1187:20: note: shadowed declaration is here
 1187 |     const uint8_t *src;
      |                    ^~~
libavcodec/exr.c: In function ‘decode_frame’:
libavcodec/exr.c:2051:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 2051 |         for (int i = 0; i < 4; i++)
      |                  ^
libavcodec/exr.c:2036:9: note: shadowed declaration is here
 2036 |     int i, y, ret, ymax;
      |         ^
--
libavcodec/ffv1enc_template.c: In function ‘encode_rgb_frame’:
libavcodec/ffv1enc_template.c:165:33: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  165 |                 const uint16_t *p = ((const uint16_t*)(src[0] + x*packed_size + stride[0]*y));
      |                                 ^
libavcodec/ffv1enc_template.c:134:15: note: shadowed declaration is here
  134 |     int x, y, p, i;
      |               ^
--
libavcodec/ffv1enc_template.c: In function ‘encode_rgb_frame32’:
libavcodec/ffv1enc_template.c:165:33: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  165 |                 const uint16_t *p = ((const uint16_t*)(src[0] + x*packed_size + stride[0]*y));
      |                                 ^
libavcodec/ffv1enc_template.c:134:15: note: shadowed declaration is here
  134 |     int x, y, p, i;
      |               ^
libavcodec/ffv1enc.c: In function ‘encode_init’:
libavcodec/ffv1enc.c:822:28: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  822 |                     double p = 128;
      |                            ^
libavcodec/ffv1enc.c:764:15: note: shadowed declaration is here
  764 |         char *p = avctx->stats_in;
      |               ^
libavcodec/ffv1enc.c:879:14: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  879 |     for (int j = 0; j < s->slice_count; j++) {
      |              ^
libavcodec/ffv1enc.c:520:12: note: shadowed declaration is here
  520 |     int i, j, k, m, ret;
      |            ^
libavcodec/ffv1enc.c:880:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  880 |         for (int i = 0; i < s->plane_count; i++) {
      |                  ^
libavcodec/ffv1enc.c:520:9: note: shadowed declaration is here
  520 |     int i, j, k, m, ret;
      |         ^
libavcodec/ffv1enc.c: In function ‘encode_frame’:
libavcodec/ffv1enc.c:1188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1188 |         int i;
      |             ^
libavcodec/ffv1enc.c:1111:9: note: shadowed declaration is here
 1111 |     int i, ret;
      |         ^
libavcodec/fic.c: In function ‘fic_decode_slice’:
libavcodec/fic.c:194:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  194 |                 int ret;
      |                     ^~~
libavcodec/fic.c:182:18: note: shadowed declaration is here
  182 |     int x, y, p, ret;
      |                  ^~~
--
libavcodec/flacenc.c: In function ‘encode_residual_ch’:
libavcodec/flacenc.c:1117:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1117 |         int i, step, improved;
      |             ^
libavcodec/flacenc.c:955:9: note: shadowed declaration is here
  955 |     int i, n;
      |         ^
--
libavcodec/fmvc.c: In function ‘decode_type1’:
libavcodec/fmvc.c:335:36: warning: declaration of ‘gbc’ shadows a previous local [-Wshadow]
  335 |                     GetByteContext gbc;
      |                                    ^~~
libavcodec/fmvc.c:296:24: note: shadowed declaration is here
  296 |         GetByteContext gbc;
      |                        ^~~
--
libavcodec/g2meet.c: In function ‘kempf_decode_tile’:
libavcodec/g2meet.c:1074:13: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1074 |         int j;
      |             ^
libavcodec/g2meet.c:1055:12: note: shadowed declaration is here
 1055 |     int i, j;
      |            ^
--
libavcodec/g723_1dec.c: In function ‘g723_1_decode_frame’:
libavcodec/g723_1dec.c:1044:30: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
 1044 |                     int16_t *buf = p->audio + LPC_ORDER;
      |                              ^~~
libavcodec/g723_1dec.c:931:20: note: shadowed declaration is here
  931 |     const uint8_t *buf = avpkt->data;
      |                    ^~~
libavcodec/g723_1enc.c: In function ‘lsp_quantize’:
libavcodec/g723_1enc.c:338:16: warning: declaration of ‘max’ shadows a previous local [-Wshadow]
  338 |     int error, max = -1;                                                      \
      |                ^~~
libavcodec/g723_1enc.c:397:5: note: in expansion of macro ‘get_index’
  397 |     get_index(0, 0, 3);
      |     ^~~~~~~~~
--
      |                  ^~~
libavcodec/g723_1enc.c:340:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  340 |     int i, j;                                                                 \
      |         ^
libavcodec/g723_1enc.c:397:5: note: in expansion of macro ‘get_index’
  397 |     get_index(0, 0, 3);
      |     ^~~~~~~~~
--
      |                ^
libavcodec/g723_1enc.c:338:16: warning: declaration of ‘max’ shadows a previous local [-Wshadow]
  338 |     int error, max = -1;                                                      \
      |                ^~~
libavcodec/g723_1enc.c:398:5: note: in expansion of macro ‘get_index’
  398 |     get_index(1, 3, 3);
      |     ^~~~~~~~~
--
      |                  ^~~
libavcodec/g723_1enc.c:340:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  340 |     int i, j;                                                                 \
      |         ^
libavcodec/g723_1enc.c:398:5: note: in expansion of macro ‘get_index’
  398 |     get_index(1, 3, 3);
      |     ^~~~~~~~~
--
      |                ^
libavcodec/g723_1enc.c:338:16: warning: declaration of ‘max’ shadows a previous local [-Wshadow]
  338 |     int error, max = -1;                                                      \
      |                ^~~
libavcodec/g723_1enc.c:399:5: note: in expansion of macro ‘get_index’
  399 |     get_index(2, 6, 4);
      |     ^~~~~~~~~
--
      |                  ^~~
libavcodec/g723_1enc.c:340:9: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  340 |     int i, j;                                                                 \
      |         ^
libavcodec/g723_1enc.c:399:5: note: in expansion of macro ‘get_index’
  399 |     get_index(2, 6, 4);
      |     ^~~~~~~~~
--
libavcodec/gdv.c: In function ‘rescale’:
libavcodec/gdv.c:142:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  142 |             int y = h - j - 1;
      |                 ^
libavcodec/gdv.c:134:12: note: shadowed declaration is here
  134 |     int j, y;
      |            ^
libavcodec/gdv.c:150:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  150 |             int y = h - j - 1;
      |                 ^
libavcodec/gdv.c:134:12: note: shadowed declaration is here
  134 |     int j, y;
      |            ^
libavcodec/gemdec.c: In function ‘gem_decode_frame’:
libavcodec/gemdec.c:196:21: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
  196 |                 int v = bytestream2_get_be16(&gb);
      |                     ^
libavcodec/gemdec.c:96:28: note: shadowed declaration is here
   96 |     unsigned int x, count, v;
      |                            ^
libavcodec/gemdec.c:199:21: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  199 |                 int b = ((v     ) & 0x7) << 5;
      |                     ^
libavcodec/gemdec.c:99:21: note: shadowed declaration is here
   99 |     const uint8_t * b;
      |                     ^
libavcodec/gemdec.c:216:21: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  216 |                 int b = (bytestream2_get_be16(&gb) * 51 + 100) / 200;
      |                     ^
libavcodec/gemdec.c:99:21: note: shadowed declaration is here
   99 |     const uint8_t * b;
      |                     ^
libavcodec/gemdec.c:241:21: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
  241 |                 int v = bytestream2_get_be16(&gb);
      |                     ^
libavcodec/gemdec.c:96:28: note: shadowed declaration is here
   96 |     unsigned int x, count, v;
      |                            ^
libavcodec/gemdec.c:244:21: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  244 |                 int b = ((v     ) & 0x7) << 5;
      |                     ^
libavcodec/gemdec.c:99:21: note: shadowed declaration is here
   99 |     const uint8_t * b;
      |                     ^
--
libavcodec/h261dec.c: In function ‘h261_decode_block’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/h261dec.c:292:9: note: in expansion of macro ‘GET_RL_VLC’
  292 |         GET_RL_VLC(level, run, re, &s->gb, rl->rl_vlc[0], TCOEFF_VLC_BITS, 2, 0);
      |         ^~~~~~~~~~
--
libavcodec/h263dec.c: In function ‘decode_slice’:
libavcodec/h263dec.c:256:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  256 |             int ret;
      |                 ^~~
libavcodec/h263dec.c:201:9: note: shadowed declaration is here
  201 |     int ret;
      |         ^~~
--
libavcodec/h264_direct.c: In function ‘ff_h264_direct_dist_scale_factor’:
libavcodec/h264_direct.c:71:23: warning: declaration of ‘poc’ shadows a previous local [-Wshadow]
   71 |             const int poc  = h->cur_pic_ptr->field_poc[field];
      |                       ^~~
libavcodec/h264_direct.c:64:15: note: shadowed declaration is here
   64 |     const int poc  = FIELD_PICTURE(h) ? h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_FIELD]
      |               ^~~
libavcodec/h264_direct.c:72:23: warning: declaration of ‘poc1’ shadows a previous local [-Wshadow]
   72 |             const int poc1 = sl->ref_list[1][0].parent->field_poc[field];
      |                       ^~~~
libavcodec/h264_direct.c:66:15: note: shadowed declaration is here
   66 |     const int poc1 = sl->ref_list[1][0].poc;
      |               ^~~~
libavcodec/h264_cavlc.c: In function ‘decode_residual’:
libavcodec/h264_cavlc.c:500:17: warning: declaration of ‘bitsi’ shadows a previous local [-Wshadow]
  500 |             int bitsi= show_bits(gb, LEVEL_TAB_BITS);
      |                 ^~~~~
libavcodec/h264_cavlc.c:453:13: note: shadowed declaration is here
  453 |         int bitsi= show_bits(gb, LEVEL_TAB_BITS);
      |             ^~~~~
libavcodec/h264_cabac.c: In function ‘decode_cabac_residual_internal’:
libavcodec/h264_cabac.c:1745:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1745 |                 int j = 0; \
      |                     ^
libavcodec/h264_cabac.c:1766:9: note: in expansion of macro ‘STORE_BLOCK’
 1766 |         STORE_BLOCK(int32_t)
      |         ^~~~~~~~~~~
--
      |         ^~~~~~~~~~~
libavcodec/h264_cabac.c:1745:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1745 |                 int j = 0; \
      |                     ^
libavcodec/h264_cabac.c:1768:9: note: in expansion of macro ‘STORE_BLOCK’
 1768 |         STORE_BLOCK(int16_t)
      |         ^~~~~~~~~~~
--
libavcodec/h264_loopfilter.c: In function ‘ff_h264_filter_mb’:
libavcodec/h264_loopfilter.c:793:15: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  793 |         { int i; for (i = 0; i < 8; i++) ff_tlog(h->avctx, " bS[%d]:%d", i, bS[i]); ff_tlog(h->avctx, "\n"); }
      |               ^
libavcodec/h264_loopfilter.c:743:13: note: shadowed declaration is here
  743 |         int i;
      |             ^
--
libavcodec/h264_mb_template.c: In function ‘hl_decode_mb_simple_8’:
libavcodec/h264_mb_template.c:101:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  101 |             int j;
      |                 ^
libavcodec/h264_mb_template.c:49:12: note: shadowed declaration is here
   49 |     int i, j;
      |            ^
libavcodec/h264_parse.c: In function ‘ff_h264_pred_weight_table’:
libavcodec/h264_parse.c:83:25: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
   83 |                     int j;
      |                         ^
libavcodec/h264_parse.c:35:18: note: shadowed declaration is here
   35 |     int list, i, j;
      |                  ^
libavcodec/h264_parse.c:100:25: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  100 |                     int j;
      |                         ^
libavcodec/h264_parse.c:35:18: note: shadowed declaration is here
   35 |     int list, i, j;
      |                  ^
--
libavcodec/h264_mb_template.c: In function ‘hl_decode_mb_simple_16’:
libavcodec/h264_mb_template.c:101:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  101 |             int j;
      |                 ^
libavcodec/h264_mb_template.c:49:12: note: shadowed declaration is here
   49 |     int i, j;
      |            ^
--
libavcodec/h264_mb_template.c: In function ‘hl_decode_mb_complex’:
libavcodec/h264_mb_template.c:101:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  101 |             int j;
      |                 ^
libavcodec/h264_mb_template.c:49:12: note: shadowed declaration is here
   49 |     int i, j;
      |            ^
--
libavcodec/h264_slice.c: In function ‘ff_h264_update_thread_context’:
libavcodec/h264_slice.c:360:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  360 |     for (int i = 0; i < FF_ARRAY_ELEMS(h->ps.sps_list); i++)
      |              ^
libavcodec/h264_slice.c:336:9: note: shadowed declaration is here
  336 |     int i, ret;
      |         ^
libavcodec/h264_slice.c:362:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  362 |     for (int i = 0; i < FF_ARRAY_ELEMS(h->ps.pps_list); i++)
      |              ^
libavcodec/h264_slice.c:336:9: note: shadowed declaration is here
  336 |     int i, ret;
      |         ^
libavcodec/h264_slice.c: In function ‘h264_export_frame_props’:
libavcodec/h264_slice.c:1174:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1174 |         int ret = ff_h264_sei_process_picture_timing(&h->sei.picture_timing, sps,
      |             ^~~
libavcodec/h264_slice.c:1165:9: note: shadowed declaration is here
 1165 |     int ret;
      |         ^~~
--
CC	libavcodec/h264qpel.o
libavcodec/h264_slice.c:2596:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 2596 |             int ret, eos;
      |                 ^~~
libavcodec/h264_slice.c:2553:9: note: shadowed declaration is here
 2553 |     int ret;
      |         ^~~
libavcodec/h264_slice.c:2666:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 2666 |             int ret;
      |                 ^~~
libavcodec/h264_slice.c:2553:9: note: shadowed declaration is here
 2553 |     int ret;
      |         ^~~
--
libavcodec/hap.c: In function ‘ff_hap_set_chunk_count’:
libavcodec/hap.c:33:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
   33 |         int ret = av_reallocp_array(&ctx->chunks, count, sizeof(HapChunk));
      |             ^~~
libavcodec/hap.c:31:9: note: shadowed declaration is here
   31 |     int ret = 0;
      |         ^~~
--
libavcodec/hdrdec.c: In function ‘hdr_decode_frame’:
libavcodec/hdrdec.c:176:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  176 |         for (int i = 0; i < 4; i++) {
      |                  ^
libavcodec/hdrdec.c:145:13: note: shadowed declaration is here
  145 |         int i;
      |             ^
libavcodec/hdrdec.c:177:22: warning: declaration of ‘scanline’ shadows a previous local [-Wshadow]
  177 |             uint8_t *scanline = p->data[0] + y * p->linesize[0] + i;
      |                      ^~~~~~~~
libavcodec/hdrdec.c:144:18: note: shadowed declaration is here
  144 |         uint8_t *scanline = p->data[0] + y * p->linesize[0];
      |                  ^~~~~~~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_8x8_8’:
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_8’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_8’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_16x16_8’:
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_16’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_16’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_32x32_8’:
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_32’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_32’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/hevcdec.c: In function ‘hls_slice_header’:
libavcodec/hevc/hevcdec.c:808:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  808 |                 int ret = pred_weight_table(sh, s->avctx, sps, gb);
      |                     ^~~
libavcodec/hevc/hevcdec.c:588:12: note: shadowed declaration is here
  588 |     int i, ret;
      |            ^~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_8x8_9’:
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_8’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_8’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_16x16_9’:
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_16’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_16’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_32x32_9’:
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_32’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_32’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/hevcdec.c: In function ‘hls_slice_data_wpp’:
libavcodec/hevc/hevcdec.c:2705:23: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 2705 |         for (unsigned i = s->nb_local_ctx; i < s->avctx->thread_count; i++) {
      |                       ^
libavcodec/hevc/hevcdec.c:2685:9: note: shadowed declaration is here
 2685 |     int i, j, res = 0;
      |         ^
--
libavcodec/hevc/dsp_template.c: In function ‘idct_8x8_10’:
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_8’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_8’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_16x16_10’:
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_16’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_16’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_32x32_10’:
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_32’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_32’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_8x8_12’:
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_8’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
CC	libavcodec/hevc/sei.o
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_8’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_16x16_12’:
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_16’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_16’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/dsp_template.c: In function ‘idct_32x32_12’:
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:253:9: note: in expansion of macro ‘TR_32’
  253 |         TR_ ## H(src, src, H, H, SCALE, limit2);                  \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:220:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  220 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:262:9: note: in expansion of macro ‘TR_32’
  262 |         TR_ ## H(coeffs, coeffs, 1, 1, SCALE, limit);             \
      |         ^~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:204:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  204 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:226:9: note: in expansion of macro ‘TR_16’
  226 |         TR_16(e_32, src, 1, 2 * sstep, SET, end / 2);             \
      |         ^~~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |             ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
      | ^~~~
libavcodec/hevc/dsp_template.c:188:16: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  188 |         int i, j;                                                 \
      |                ^
libavcodec/hevc/dsp_template.c:210:9: note: in expansion of macro ‘TR_8’
  210 |         TR_8(e_16, src, 1, 2 * sstep, SET, 8);                    \
      |         ^~~~
--
libavcodec/hevc/ps.c: In function ‘ff_hevc_decode_short_term_rps’:
libavcodec/hevc/ps.c:189:23: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  189 |         for (unsigned i = 0; i < FF_ARRAY_ELEMS(used); i++)
      |                       ^
libavcodec/hevc/ps.c:95:9: note: shadowed declaration is here
   95 |     int i;
      |         ^
libavcodec/hevc/ps.c: In function ‘decode_profile_tier_level’:
libavcodec/hevc/ps.c:252:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  252 |     for (int i = 0; ff_hevc_profiles[i].profile != AV_PROFILE_UNKNOWN; i++)
      |              ^
libavcodec/hevc/ps.c:242:9: note: shadowed declaration is here
  242 |     int i;
      |         ^
libavcodec/hpeldsp.c: In function ‘avg_pixels4_xy2_8_c’:
libavcodec/hpeldsp.c:188:18: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  188 |         uint32_t a = AV_RN32(pixels);                                   \
      |                  ^
libavcodec/hpeldsp.c:333:1: note: in expansion of macro ‘PIXOP2’
  333 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/hpeldsp.c:189:18: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  189 |         uint32_t b = AV_RN32(pixels + 1);                               \
      |                  ^
libavcodec/hpeldsp.c:333:1: note: in expansion of macro ‘PIXOP2’
  333 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
libavcodec/hpeldsp.c: In function ‘avg_pixels8_xy2_8_c’:
libavcodec/hpeldsp.c:233:22: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  233 |             uint32_t a = AV_RN32(pixels);                               \
      |                      ^
libavcodec/hpeldsp.c:333:1: note: in expansion of macro ‘PIXOP2’
  333 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/hpeldsp.c:234:22: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  234 |             uint32_t b = AV_RN32(pixels + 1);                           \
      |                      ^
libavcodec/hpeldsp.c:333:1: note: in expansion of macro ‘PIXOP2’
  333 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
libavcodec/hpeldsp.c: In function ‘avg_no_rnd_pixels8_xy2_8_c’:
libavcodec/hpeldsp.c:281:22: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  281 |             uint32_t a = AV_RN32(pixels);                               \
      |                      ^
libavcodec/hpeldsp.c:333:1: note: in expansion of macro ‘PIXOP2’
  333 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/hpeldsp.c:282:22: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  282 |             uint32_t b = AV_RN32(pixels + 1);                           \
      |                      ^
libavcodec/hpeldsp.c:333:1: note: in expansion of macro ‘PIXOP2’
  333 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
libavcodec/hpeldsp.c: In function ‘put_pixels4_xy2_8_c’:
libavcodec/hpeldsp.c:188:18: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  188 |         uint32_t a = AV_RN32(pixels);                                   \
      |                  ^
libavcodec/hpeldsp.c:334:1: note: in expansion of macro ‘PIXOP2’
  334 | PIXOP2(put, op_put)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/hpeldsp.c:189:18: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  189 |         uint32_t b = AV_RN32(pixels + 1);                               \
      |                  ^
libavcodec/hpeldsp.c:334:1: note: in expansion of macro ‘PIXOP2’
  334 | PIXOP2(put, op_put)
      | ^~~~~~
--
libavcodec/hpeldsp.c: In function ‘put_pixels8_xy2_8_c’:
libavcodec/hpeldsp.c:233:22: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  233 |             uint32_t a = AV_RN32(pixels);                               \
      |                      ^
libavcodec/hpeldsp.c:334:1: note: in expansion of macro ‘PIXOP2’
  334 | PIXOP2(put, op_put)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/hnm4video.c:434:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  434 |             int ret = decode_interframe_v4(avctx, avpkt->data + 8, avpkt->size - 8);
      |                 ^~~
libavcodec/hpeldsp.c:234:22: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  234 |             uint32_t b = AV_RN32(pixels + 1);                           \
      |                      ^
libavcodec/hpeldsp.c:334:1: note: in expansion of macro ‘PIXOP2’
  334 | PIXOP2(put, op_put)
      | ^~~~~~
--
libavcodec/hpeldsp.c: In function ‘put_no_rnd_pixels8_xy2_8_c’:
libavcodec/hpeldsp.c:281:22: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  281 |             uint32_t a = AV_RN32(pixels);                               \
      |                      ^
libavcodec/hpeldsp.c:334:1: note: in expansion of macro ‘PIXOP2’
  334 | PIXOP2(put, op_put)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/hpeldsp.c:282:22: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  282 |             uint32_t b = AV_RN32(pixels + 1);                           \
      |                      ^
libavcodec/hpeldsp.c:334:1: note: in expansion of macro ‘PIXOP2’
  334 | PIXOP2(put, op_put)
      | ^~~~~~
--
libavcodec/huffyuvdec.c: In function ‘decode_end’:
libavcodec/huffyuvdec.c:331:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  331 |     for (int i = 0; i < 3; i++)
      |              ^
libavcodec/huffyuvdec.c:329:9: note: shadowed declaration is here
  329 |     int i;
      |         ^
libavcodec/huffyuvenc.c: In function ‘encode_init’:
libavcodec/huffyuvenc.c:437:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  437 |     for (int i = 0; i < 3; i++) {
      |              ^
libavcodec/huffyuvenc.c:247:9: note: shadowed declaration is here
  247 |     int i, j;
      |         ^
libavcodec/huffyuvenc.c: In function ‘encode_frame’:
libavcodec/huffyuvenc.c:948:13: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  948 |         int j;
      |             ^
libavcodec/huffyuvenc.c:707:12: note: shadowed declaration is here
  707 |     int i, j, size = 0, ret;
      |            ^
libavcodec/huffyuvenc.c:949:15: warning: declaration of ‘p’ shadows a parameter [-Wshadow]
  949 |         char *p = avctx->stats_out;
      |               ^
libavcodec/huffyuvenc.c:698:40: note: shadowed declaration is here
  698 |                         const AVFrame *p, int *got_packet)
      |                         ~~~~~~~~~~~~~~~^
--
libavcodec/imm4.c: In function ‘decode_intra’:
libavcodec/imm4.c:223:28: warning: declaration of ‘cbplo’ shadows a global declaration [-Wshadow]
  223 |             unsigned flag, cbplo;
      |                            ^~~~~
libavcodec/imm4.c:67:22: note: shadowed declaration is here
   67 | static const uint8_t cbplo[][2] = {
      |                      ^~~~~
libavcodec/imm4.c: In function ‘decode_inter’:
libavcodec/imm4.c:279:22: warning: declaration of ‘cbplo’ shadows a global declaration [-Wshadow]
  279 |             unsigned cbplo, flag2 = 0;
      |                      ^~~~~
libavcodec/imm4.c:67:22: note: shadowed declaration is here
   67 | static const uint8_t cbplo[][2] = {
      |                      ^~~~~
--
libavcodec/interplayvideo.c: In function ‘ipvideo_decode_block_opcode_0xA’:
libavcodec/interplayvideo.c:436:18: warning: declaration of ‘flags’ shadows a previous local [-Wshadow]
  436 |         uint64_t flags = bytestream2_get_le64(&s->stream_ptr);
      |                  ^~~~~
libavcodec/interplayvideo.c:404:9: note: shadowed declaration is here
  404 |     int flags = 0;
      |         ^~~~~
libavcodec/interplayvideo.c: In function ‘ipvideo_decode_block_opcode_0xA_16’:
libavcodec/interplayvideo.c:789:18: warning: declaration of ‘flags’ shadows a previous local [-Wshadow]
  789 |         uint64_t flags = bytestream2_get_le64(&s->stream_ptr);
      |                  ^~~~~
libavcodec/interplayvideo.c:758:9: note: shadowed declaration is here
  758 |     int flags = 0;
      |         ^~~~~
--
libavcodec/intrax8dsp.c: In function ‘x8_setup_spatial_compensation’:
libavcodec/intrax8dsp.c:134:17: warning: declaration of ‘c’ shadows a previous local [-Wshadow]
  134 |         uint8_t c = *(src - 1 - stride);
      |                 ^
libavcodec/intrax8dsp.c:73:13: note: shadowed declaration is here
   73 |     uint8_t c;
      |             ^
libavcodec/intrax8.c: In function ‘x8_vlc_init’:
libavcodec/intrax8.c:67:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   67 |     for (int i = 0; i < 2; i++)
      |              ^
libavcodec/intrax8.c:64:9: note: shadowed declaration is here
   64 |     int i;
      |         ^
libavcodec/intrax8.c:74:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   74 |     for (int i = 0; i < 2; i++)
      |              ^
libavcodec/intrax8.c:64:9: note: shadowed declaration is here
   64 |     int i;
      |         ^
--
libavcodec/ituh263dec.c: In function ‘h263_decode_block’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/ituh263dec.c:601:9: note: in expansion of macro ‘GET_RL_VLC’
  601 |         GET_RL_VLC(level, run, re, &s->gb, rl->rl_vlc[0], TEX_VLC_BITS, 2, 0);
      |         ^~~~~~~~~~
--
libavcodec/ituh263dec.c: In function ‘ff_h263_decode_mb’:
libavcodec/ituh263dec.c:955:26: warning: declaration of ‘mot_val’ shadows a previous local [-Wshadow]
  955 |                 int16_t *mot_val= ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y);
      |                          ^~~~~~~
libavcodec/ituh263dec.c:792:14: note: shadowed declaration is here
  792 |     int16_t *mot_val;
      |              ^~~~~~~
libavcodec/ituh263dec.c:982:26: warning: declaration of ‘mot_val’ shadows a previous local [-Wshadow]
  982 |                 int16_t *mot_val= ff_h263_pred_motion(s, 0, 1, &pred_x, &pred_y);
      |                          ^~~~~~~
libavcodec/ituh263dec.c:792:14: note: shadowed declaration is here
  792 |     int16_t *mot_val;
      |              ^~~~~~~
libavcodec/ituh263dec.c: In function ‘ff_h263_decode_picture_header’:
libavcodec/ituh263dec.c:1371:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1371 |         int i,j;
      |             ^
libavcodec/ituh263dec.c:1091:32: note: shadowed declaration is here
 1091 |     int format, width, height, i, ret;
      |                                ^
--
libavcodec/j2kenc.c: In function ‘encode_sigpass’:
libavcodec/j2kenc.c:628:29: warning: declaration of ‘ctxno’ shadows a previous local [-Wshadow]
  628 |                         int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit);
      |                             ^~~~~
libavcodec/j2kenc.c:623:25: note: shadowed declaration is here
  623 |                     int ctxno = ff_jpeg2000_getsigctxno(t1->flags[(y+1) * t1->stride + x+1], bandno),
      |                         ^~~~~
libavcodec/j2kenc.c: In function ‘encode_clnpass’:
libavcodec/j2kenc.c:680:33: warning: declaration of ‘ctxno’ shadows a previous local [-Wshadow]
  680 |                             int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit);
      |                                 ^~~~~
libavcodec/j2kenc.c:675:29: note: shadowed declaration is here
  675 |                         int ctxno = ff_jpeg2000_getsigctxno(t1->flags[(y+1) * t1->stride + x+1], bandno);
      |                             ^~~~~
libavcodec/j2kenc.c:695:33: warning: declaration of ‘ctxno’ shadows a previous local [-Wshadow]
  695 |                             int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit);
      |                                 ^~~~~
libavcodec/j2kenc.c:691:29: note: shadowed declaration is here
  691 |                         int ctxno = ff_jpeg2000_getsigctxno(t1->flags[(y+1) * t1->stride + x+1], bandno);
      |                             ^~~~~
--
libavcodec/jpeg2000dwt.c: In function ‘dwt_encode97_int’:
libavcodec/jpeg2000dwt.c:270:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  270 |             int i, j = 0;
      |                 ^
libavcodec/jpeg2000dwt.c:252:9: note: shadowed declaration is here
  252 |     int i;
      |         ^
libavcodec/jpeg2000dwt.c:287:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  287 |             int i, j = 0;
      |                 ^
libavcodec/jpeg2000dwt.c:252:9: note: shadowed declaration is here
  252 |     int i;
      |         ^
libavcodec/jpeg2000dwt.c: In function ‘dwt_decode97_int’:
libavcodec/jpeg2000dwt.c:502:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  502 |             int i, j = 0;
      |                 ^
libavcodec/jpeg2000dwt.c:483:9: note: shadowed declaration is here
  483 |     int i;
      |         ^
libavcodec/jpeg2000dwt.c:518:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  518 |             int i, j = 0;
      |                 ^
libavcodec/jpeg2000dwt.c:483:9: note: shadowed declaration is here
  483 |     int i;
      |         ^
--
libavcodec/jpeg2000dec.c: In function ‘decode_clnpass’:
libavcodec/jpeg2000dec.c:1956:21: warning: declaration of ‘flags_mask’ shadows a previous local [-Wshadow]
 1956 |                 int flags_mask = -1;
      |                     ^~~~~~~~~~
libavcodec/jpeg2000dec.c:1934:17: note: shadowed declaration is here
 1934 |             int flags_mask = -1;
      |                 ^~~~~~~~~~
--
libavcodec/jpeglsdec.c: In function ‘ls_decode_line’:
libavcodec/jpeglsdec.c:263:21: warning: declaration of ‘r’ shadows a previous local [-Wshadow]
  263 |                 int r;
      |                     ^
libavcodec/jpeglsdec.c:258:17: note: shadowed declaration is here
  258 |             int r;
      |                 ^
libavcodec/jpeglsdec.c: In function ‘ff_jpegls_decode_picture’:
libavcodec/jpeglsdec.c:435:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  435 |             int ret;
      |                 ^~~
libavcodec/jpeglsdec.c:361:44: note: shadowed declaration is here
  361 |     int off = 0, stride = 1, width, shift, ret = 0;
      |                                            ^~~
libavcodec/jpeglsdec.c:461:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  461 |             int ret;
      |                 ^~~
libavcodec/jpeglsdec.c:361:44: note: shadowed declaration is here
  361 |     int off = 0, stride = 1, width, shift, ret = 0;
      |                                            ^~~
--
libavcodec/lcldec.c: In function ‘decode_frame’:
libavcodec/lcldec.c:288:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  288 |             int ret = zlib_decomp(avctx, buf, len, 0, c->decomp_size);
      |                 ^~~
libavcodec/lcldec.c:178:15: note: shadowed declaration is here
  178 |     int uqvq, ret;
      |               ^~~
--
libavcodec/mdec.c: In function ‘mdec_decode_block_intra’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mdec.c:87:13: note: in expansion of macro ‘GET_RL_VLC’
   87 |             GET_RL_VLC(level, run, re, &a->gb, ff_mpeg1_rl_vlc, TEX_VLC_BITS, 2, 0);
      |             ^~~~~~~~~~
--
libavcodec/mjpegdec.c: In function ‘ff_mjpeg_decode_frame_from_buf’:
libavcodec/mjpegdec.c:2836:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 2836 |         int i;
      |             ^
libavcodec/mjpegdec.c:2380:9: note: shadowed declaration is here
 2380 |     int i, index;
      |         ^
--
libavcodec/mjpegenc_common.c: In function ‘jpeg_table_header’:
libavcodec/mjpegenc_common.c:78:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   78 |         for (int i = 0; i < 64; i++) {
      |                  ^
libavcodec/mjpegenc_common.c:66:9: note: shadowed declaration is here
   66 |     int i, j, size;
      |         ^
libavcodec/mjpegenc_common.c:79:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
   79 |             uint8_t j = intra_matrix_permutation[i];
      |                     ^
libavcodec/mjpegenc_common.c:66:12: note: shadowed declaration is here
   66 |     int i, j, size;
      |            ^
--
libavcodec/mlpenc.c: In function ‘write_access_unit’:
libavcodec/mlpenc.c:1164:18: warning: declaration of ‘buf0’ shadows a previous local [-Wshadow]
 1164 |         uint8_t *buf0 = buf;
      |                  ^~~~
libavcodec/mlpenc.c:1141:21: note: shadowed declaration is here
 1141 |     uint8_t *buf1, *buf0 = buf;
      |                     ^~~~
libavcodec/mlpenc.c: In function ‘input_to_sample_buffer’:
libavcodec/mlpenc.c:1243:33: warning: declaration of ‘dp’ shadows a previous local [-Wshadow]
 1243 |                 DecodingParams *dp = &s->b[index].decoding_params;
      |                                 ^~
libavcodec/mlpenc.c:1235:25: note: shadowed declaration is here
 1235 |         DecodingParams *dp = &s->b[index+1].decoding_params;
      |                         ^~
libavcodec/mlpenc.c:1244:26: warning: declaration of ‘sample_buffer’ shadows a previous local [-Wshadow]
 1244 |                 int32_t *sample_buffer = dp->sample_buffer[ch];
      |                          ^~~~~~~~~~~~~
libavcodec/mlpenc.c:1239:22: note: shadowed declaration is here
 1239 |             int32_t *sample_buffer = dp->sample_buffer[ch];
      |                      ^~~~~~~~~~~~~
libavcodec/mlpenc.c: In function ‘estimate_coeff’:
libavcodec/mlpenc.c:1428:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1428 |         for (int i = 0; i < dp->blocksize; i++) {
      |                  ^
libavcodec/mlpenc.c:1419:9: note: shadowed declaration is here
 1419 |     int i, count = 0;
      |         ^
libavcodec/mlpenc.c: In function ‘apply_filter’:
libavcodec/mlpenc.c:1795:18: warning: declaration of ‘sample_buffer’ shadows a previous local [-Wshadow]
 1795 |         int32_t *sample_buffer = s->b[j].decoding_params.sample_buffer[channel];
      |                  ^~~~~~~~~~~~~
CC	libavcodec/movtextdec.o
libavcodec/mlpenc.c:1783:14: note: shadowed declaration is here
 1783 |     int32_t *sample_buffer = s->b[0].decoding_params.sample_buffer[channel];
      |              ^~~~~~~~~~~~~
libavcodec/mlpenc.c:1832:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1832 |     for (int l = 0, j = 0; j <= ctx->cur_restart_interval; j++) {
      |                     ^
libavcodec/mlpenc.c:1787:12: note: shadowed declaration is here
 1787 |     int i, j = 1, k = 0;
      |            ^
libavcodec/mlpenc.c:1833:18: warning: declaration of ‘sample_buffer’ shadows a previous local [-Wshadow]
 1833 |         int32_t *sample_buffer = s->b[j].decoding_params.sample_buffer[channel];
      |                  ^~~~~~~~~~~~~
libavcodec/mlpenc.c:1783:14: note: shadowed declaration is here
 1783 |     int32_t *sample_buffer = s->b[0].decoding_params.sample_buffer[channel];
      |              ^~~~~~~~~~~~~
libavcodec/mlpenc.c:1836:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1836 |         for (int i = 0; i < blocksize; i++, l++)
      |                  ^
libavcodec/mlpenc.c:1787:9: note: shadowed declaration is here
 1787 |     int i, j = 1, k = 0;
      |         ^
--
libavcodec/mobiclip.c: In function ‘get_prediction’:
libavcodec/mobiclip.c:938:13: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  938 |         int x = get_bits(gb, 3);
      |             ^
libavcodec/mobiclip.c:927:54: note: shadowed declaration is here
  927 | static int get_prediction(AVCodecContext *avctx, int x, int y, int size)
      |                                                  ~~~~^
--
libavcodec/motion_est_template.c: In function ‘qpel_motion_search’:
libavcodec/motion_est_template.c:254:19: warning: declaration of ‘c’ shadows a previous local [-Wshadow]
  254 |         const int c= score_map[(index                    )&(ME_MAP_SIZE-1)];
      |                   ^
libavcodec/motion_est_template.c:212:30: note: shadowed declaration is here
  212 |     MotionEstContext * const c= &s->me;
      |                              ^
libavcodec/motion_est_template.c:272:25: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  272 |                     int i;
      |                         ^
libavcodec/motion_est_template.c:248:13: note: shadowed declaration is here
  248 |         int i, nx, ny;
      |             ^
libavcodec/motion_est_template.c:321:25: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  321 |                     int i;
      |                         ^
libavcodec/motion_est_template.c:248:13: note: shadowed declaration is here
  248 |         int i, nx, ny;
      |             ^
libavcodec/motion_est_template.c: In function ‘sab_diamond_search’:
libavcodec/motion_est_template.c:663:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  663 |             int j=0;\
      |                 ^
libavcodec/motion_est_template.c:747:9: note: in expansion of macro ‘SAB_CHECK_MV’
  747 |         SAB_CHECK_MV(x-1, y)
      |         ^~~~~~~~~~~~
--
      |            ^
libavcodec/motion_est_template.c:663:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  663 |             int j=0;\
      |                 ^
libavcodec/motion_est_template.c:748:9: note: in expansion of macro ‘SAB_CHECK_MV’
  748 |         SAB_CHECK_MV(x+1, y)
      |         ^~~~~~~~~~~~
--
      |            ^
libavcodec/motion_est_template.c:663:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  663 |             int j=0;\
      |                 ^
libavcodec/motion_est_template.c:749:9: note: in expansion of macro ‘SAB_CHECK_MV’
  749 |         SAB_CHECK_MV(x  , y-1)
      |         ^~~~~~~~~~~~
--
      |            ^
libavcodec/motion_est_template.c:663:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  663 |             int j=0;\
      |                 ^
libavcodec/motion_est_template.c:750:9: note: in expansion of macro ‘SAB_CHECK_MV’
  750 |         SAB_CHECK_MV(x  , y+1)
      |         ^~~~~~~~~~~~
--
libavcodec/motion_est.c: In function ‘h263_mv4_search’:
libavcodec/motion_est.c:707:13: warning: declaration of ‘mx’ shadows a parameter [-Wshadow]
  707 |         int mx, my;
      |             ^~
libavcodec/motion_est.c:587:58: note: shadowed declaration is here
  587 | static inline int h263_mv4_search(MpegEncContext *s, int mx, int my, int shift)
      |                                                      ~~~~^~
libavcodec/motion_est.c:707:17: warning: declaration of ‘my’ shadows a parameter [-Wshadow]
  707 |         int mx, my;
      |                 ^~
libavcodec/motion_est.c:587:66: note: shadowed declaration is here
  587 | static inline int h263_mv4_search(MpegEncContext *s, int mx, int my, int shift)
      |                                                              ~~~~^~
--
libavcodec/mpeg12.c: In function ‘ff_mpeg1_decode_block_intra’:
libavcodec/get_bits.h:610:22: warning: declaration of ‘index’ shadows a parameter [-Wshadow]
  610 |         unsigned int index;                                     \
      |                      ^~~~~
libavcodec/mpeg12.c:224:13: note: in expansion of macro ‘GET_RL_VLC’
  224 |             GET_RL_VLC(level, run, re, gb, ff_mpeg1_rl_vlc,
      |             ^~~~~~~~~~
--
libavcodec/mpeg12dec.c: In function ‘mpeg1_decode_block_inter’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mpeg12dec.c:159:13: note: in expansion of macro ‘GET_RL_VLC’
  159 |             GET_RL_VLC(level, run, re, &s->gb, ff_mpeg1_rl_vlc,
      |             ^~~~~~~~~~
--
libavcodec/mpeg12dec.c: In function ‘mpeg2_decode_block_non_intra’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mpeg12dec.c:252:13: note: in expansion of macro ‘GET_RL_VLC’
  252 |             GET_RL_VLC(level, run, re, &s->gb, ff_mpeg1_rl_vlc,
      |             ^~~~~~~~~~
--
libavcodec/mpeg12dec.c: In function ‘mpeg2_decode_block_intra’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mpeg12dec.c:339:13: note: in expansion of macro ‘GET_RL_VLC’
  339 |             GET_RL_VLC(level, run, re, &s->gb, rl_vlc,
      |             ^~~~~~~~~~
--
libavcodec/mpeg12dec.c: In function ‘mpeg_decode_mb’:
libavcodec/mpeg12dec.c:417:17: warning: declaration of ‘mb_type’ shadows a previous local [-Wshadow]
  417 |             int mb_type;
      |                 ^~~~~~~
libavcodec/mpeg12dec.c:403:28: note: shadowed declaration is here
  403 |     int i, j, k, cbp, val, mb_type, motion_type;
      |                            ^~~~~~~
--
libavcodec/mpeg12dec.c: In function ‘mpeg_decode_slice’:
libavcodec/mpeg12dec.c:1547:21: warning: declaration of ‘left’ shadows a previous local [-Wshadow]
 1547 |                 int left   = get_bits_left(&s->gb);
      |                     ^~~~
libavcodec/mpeg12dec.c:1538:17: note: shadowed declaration is here
 1538 |             int left;
      |                 ^~~~
libavcodec/mpeg12dec.c: In function ‘mpeg1_decode_sequence’:
libavcodec/mpeg12dec.c:1824:17: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1824 |             int j = s->idsp.idct_permutation[i];
      |                 ^
libavcodec/mpeg12enc.c: In function ‘encode_init’:
libavcodec/mpeg12enc.c:260:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  260 |         int ret = av_timecode_init_from_string(&mpeg12->tc, rate, mpeg12->tc_opt_str, avctx);
      |             ^~~
libavcodec/mpeg12enc.c:182:9: note: shadowed declaration is here
  182 |     int ret;
      |         ^~~
--
libavcodec/mpeg12dec.c: In function ‘decode_chunks’:
libavcodec/mpeg12dec.c:2313:25: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 2313 |                     int ret = mpeg_decode_picture_coding_extension(s);
      |                         ^~~
libavcodec/mpeg12dec.c:2175:9: note: shadowed declaration is here
 2175 |     int ret, input_size;
      |         ^~~
--
libavcodec/mpeg12dec.c: In function ‘mpeg_decode_frame’:
libavcodec/mpeg12dec.c:2514:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 2514 |             int ret = av_frame_ref(picture, s2->next_pic.ptr->f);
      |                 ^~~
libavcodec/mpeg12dec.c:2506:9: note: shadowed declaration is here
 2506 |     int ret;
      |         ^~~
--
libavcodec/mpeg4videodec.c: In function ‘mpeg4_decode_partition_a’:
libavcodec/mpeg4videodec.c:1105:38: warning: declaration of ‘mot_val’ shadows a previous local [-Wshadow]
 1105 |                             int16_t *mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y);
      |                                      ^~~~~~~
libavcodec/mpeg4videodec.c:996:32: note: shadowed declaration is here
  996 |                 int16_t *const mot_val = s->cur_pic.motion_val[0][s->block_index[0]];
      |                                ^~~~~~~
--
libavcodec/mpeg4videodec.c: In function ‘mpeg4_decode_block’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mpeg4videodec.c:1375:13: note: in expansion of macro ‘GET_RL_VLC’
 1375 |             GET_RL_VLC(level, run, re, &s->gb, rl_vlc, TEX_VLC_BITS, 2, 0);
      |             ^~~~~~~~~~
--
      |                                      ~~~~^
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mpeg4videodec.c:1502:29: note: in expansion of macro ‘GET_RL_VLC’
 1502 |                             GET_RL_VLC(level, run, re, &s->gb, rl_vlc, TEX_VLC_BITS, 2, 1);
      |                             ^~~~~~~~~~
--
CC	libavcodec/mpegaudiodec_fixed.o
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/mpeg4videodec.c:1510:25: note: in expansion of macro ‘GET_RL_VLC’
 1510 |                         GET_RL_VLC(level, run, re, &s->gb, rl_vlc, TEX_VLC_BITS, 2, 1);
      |                         ^~~~~~~~~~
--
libavcodec/mpeg4videoenc.c: In function ‘ff_mpeg4_encode_mb’:
libavcodec/mpeg4videoenc.c:641:25: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  641 |                     int i;
      |                         ^
libavcodec/mpeg4videoenc.c:496:13: note: shadowed declaration is here
  496 |         int i, cbp;
      |             ^
--
libavcodec/mpegaudiodec_template.c: In function ‘huffman_decode’:
libavcodec/mpegaudiodec_template.c:877:17: warning: declaration of ‘pos’ shadows a previous local [-Wshadow]
  877 |             int pos = s_index + idxtab[code];
      |                 ^~~
libavcodec/mpegaudiodec_template.c:849:13: note: shadowed declaration is here
  849 |         int pos, code;
      |             ^~~
--
libavcodec/mpegaudiodec_template.c: In function ‘huffman_decode’:
libavcodec/mpegaudiodec_template.c:877:17: warning: declaration of ‘pos’ shadows a previous local [-Wshadow]
  877 |             int pos = s_index + idxtab[code];
      |                 ^~~
libavcodec/mpegaudiodec_template.c:849:13: note: shadowed declaration is here
  849 |         int pos, code;
      |             ^~~
--
libavcodec/mpegaudioenc_template.c: In function ‘MPA_encode_init’:
libavcodec/mpegaudioenc_template.c:145:13: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
  145 |         int v;
      |             ^
libavcodec/mpegaudioenc_template.c:82:12: note: shadowed declaration is here
   82 |     int i, v, table;
      |            ^
libavcodec/mpegaudioenc_template.c:145:13: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
  145 |         int v;
      |             ^
libavcodec/mpegaudioenc_template.c:82:12: note: shadowed declaration is here
   82 |     int i, v, table;
      |            ^
--
libavcodec/mpegvideo.c: In function ‘ff_mpv_init_context_frame’:
libavcodec/mpegvideo.c:573:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  573 |         for (int i = 0; i < 2; i++) {
      |                  ^
libavcodec/mpegvideo.c:513:34: note: shadowed declaration is here
  513 |     int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y;
      |                                  ^
--
libavcodec/mpegvideo_enc.c: In function ‘ff_mpv_encode_init’:
libavcodec/mpegvideo_enc.c:914:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  914 |         for (int i = 0; i < 2; i++) {
      |                  ^
libavcodec/mpegvideo_enc.c:355:9: note: shadowed declaration is here
  355 |     int i, ret;
      |         ^
libavcodec/mpegvideo_enc.c: In function ‘ff_mpv_encode_end’:
libavcodec/mpegvideo_enc.c:1039:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1039 |         for (int i = 0; i < MAX_B_FRAMES + 1; i++) {
      |                  ^
libavcodec/mpegvideo_enc.c:1031:9: note: shadowed declaration is here
 1031 |     int i;
      |         ^
--
libavcodec/mpegvideo_enc.c: In function ‘encode_picture’:
libavcodec/mpegvideo_enc.c:3634:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 3634 |     for (int i = 0; i < context_count; i++) {
      |              ^
libavcodec/mpegvideo_enc.c:3587:9: note: shadowed declaration is here
 3587 |     int i, ret;
      |         ^
libavcodec/mpegvideo_enc.c:3784:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 3784 |             for (int i = 1; i < 64; i++) {
      |                      ^
libavcodec/mpegvideo_enc.c:3587:9: note: shadowed declaration is here
 3587 |     int i, ret;
      |         ^
libavcodec/mpegvideo_enc.c: In function ‘dct_quantize_refine’:
libavcodec/mpegvideo_enc.c:4527:21: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 4527 |                 int j= perm_scantable[i];
      |                     ^
libavcodec/mpegvideo_enc.c:4510:17: note: shadowed declaration is here
 4510 |             int j= perm_scantable[ best_coeff ];
      |                 ^
--
libavcodec/msmpeg4.c: In function ‘ff_msmpeg4_pred_dc’:
libavcodec/msmpeg4.c:262:17: warning: declaration of ‘wrap’ shadows a previous local [-Wshadow]
  262 |             int wrap;
      |                 ^~~~
libavcodec/msmpeg4.c:199:18: note: shadowed declaration is here
  199 |     int a, b, c, wrap, pred, scale;
      |                  ^~~~
--
libavcodec/msmpeg4dec.c: In function ‘ff_msmpeg4_decode_block’:
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/msmpeg4dec.c:699:9: note: in expansion of macro ‘GET_RL_VLC’
  699 |         GET_RL_VLC(level, run, re, &s->gb, rl_vlc, TEX_VLC_BITS, 2, 0);
      |         ^~~~~~~~~~
--
      |                               ~~~~^
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/msmpeg4dec.c:759:21: note: in expansion of macro ‘GET_RL_VLC’
  759 |                     GET_RL_VLC(level, run, re, &s->gb, rl_vlc, TEX_VLC_BITS, 2, 1);
      |                     ^~~~~~~~~~
--
      |                               ~~~~^
libavcodec/get_bits.h:609:13: warning: declaration of ‘n’ shadows a parameter [-Wshadow]
  609 |         int n, nb_bits;                                         \
      |             ^
libavcodec/msmpeg4dec.c:767:17: note: in expansion of macro ‘GET_RL_VLC’
  767 |                 GET_RL_VLC(level, run, re, &s->gb, rl_vlc, TEX_VLC_BITS, 2, 1);
      |                 ^~~~~~~~~~
--
libavcodec/msmpeg4enc.c: In function ‘ff_msmpeg4_encode_mb’:
libavcodec/msmpeg4enc.c:450:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  450 |         for (int i = 0; i < 6; i++) {
      |                  ^
libavcodec/msmpeg4enc.c:389:25: note: shadowed declaration is here
  389 |     int cbp, coded_cbp, i;
      |                         ^
libavcodec/msmpeg4enc.c:474:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  474 |                 for (int i = 0; i < 4; i++) {
      |                          ^
libavcodec/msmpeg4enc.c:389:25: note: shadowed declaration is here
  389 |     int cbp, coded_cbp, i;
      |                         ^
libavcodec/msrle.c: In function ‘msrle_decode_frame’:
libavcodec/msrle.c:115:24: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
  115 |         const uint8_t *buf = avpkt->data + (avctx->height-1)*istride;
      |                        ^~~
libavcodec/msrle.c:85:20: note: shadowed declaration is here
   85 |     const uint8_t *buf = avpkt->data;
      |                    ^~~
--
libavcodec/mss2.c: In function ‘mss2_decode_frame’:
libavcodec/mss2.c:717:39: warning: declaration of ‘r’ shadows a previous local [-Wshadow]
  717 |                     struct Rectangle2 r;
      |                                       ^
libavcodec/mss2.c:519:55: note: shadowed declaration is here
  519 |     struct Rectangle wmv9rects[MAX_WMV9_RECTANGLES], *r;
      |                                                       ^
--
libavcodec/mss4.c: In function ‘mss4_decode_dct’:
libavcodec/mss4.c:168:52: warning: declaration of ‘dc_vlc’ shadows a global declaration [-Wshadow]
  168 | static int mss4_decode_dct(GetBitContext *gb, VLC *dc_vlc, VLC *ac_vlc,
      |                                               ~~~~~^~~~~~
libavcodec/mss4.c:99:12: note: shadowed declaration is here
   99 | static VLC dc_vlc[2], ac_vlc[2];
      |            ^~~~~~
libavcodec/mss4.c:168:65: warning: declaration of ‘ac_vlc’ shadows a global declaration [-Wshadow]
  168 | static int mss4_decode_dct(GetBitContext *gb, VLC *dc_vlc, VLC *ac_vlc,
      |                                                            ~~~~~^~~~~~
libavcodec/mss4.c:99:23: note: shadowed declaration is here
   99 | static VLC dc_vlc[2], ac_vlc[2];
      |                       ^~~~~~
--
libavcodec/mxpegdec.c: In function ‘mxpeg_decode_frame’:
libavcodec/mxpegdec.c:327:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  327 |         int ret = av_frame_ref(rframe, jpg->picture_ptr);
      |             ^~~
libavcodec/mxpegdec.c:195:9: note: shadowed declaration is here
  195 |     int ret;
      |         ^~~
--
libavcodec/nuv.c: In function ‘decode_frame’:
libavcodec/nuv.c:160:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  160 |         int ret;
      |             ^~~
libavcodec/nuv.c:139:19: note: shadowed declaration is here
  139 |     int keyframe, ret;
      |                   ^~~
--
libavcodec/opus/dec.c: In function ‘opus_decode_packet’:
libavcodec/opus/dec.c:490:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  490 |     for (int i = 0; i < c->p.nb_streams; i++) {
      |              ^
libavcodec/opus/dec.c:487:9: note: shadowed declaration is here
  487 |     int i, ret;
      |         ^
libavcodec/opus/dec.c:531:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  531 |     for (int i = 0; i < c->p.nb_streams; i++) {
      |              ^
libavcodec/opus/dec.c:487:9: note: shadowed declaration is here
  487 |     int i, ret;
      |         ^
libavcodec/opus/dec.c:563:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  563 |     for (int i = 0; i < c->p.nb_streams; i++) {
      |              ^
libavcodec/opus/dec.c:487:9: note: shadowed declaration is here
  487 |     int i, ret;
      |         ^
libavcodec/opus/dec.c:593:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  593 |     for (int i = 0; i < c->p.nb_streams; i++) {
      |              ^
libavcodec/opus/dec.c:487:9: note: shadowed declaration is here
  487 |     int i, ret;
      |         ^
libavcodec/opus/dec.c:597:20: warning: declaration of ‘buf’ shadows a previous local [-Wshadow]
  597 |             float *buf[2] = { s->out[0] ? s->out[0] : (float*)frame->extended_data[0],
      |                    ^~~
libavcodec/opus/dec.c:482:20: note: shadowed declaration is here
  482 |     const uint8_t *buf  = avpkt->data;
      |                    ^~~
--
libavcodec/pafvideo.c: In function ‘paf_video_decode’:
libavcodec/pafvideo.c:381:20: warning: declaration of ‘code’ shadows a previous local [-Wshadow]
  381 |             int8_t code;
      |                    ^~~~
libavcodec/pafvideo.c:276:13: note: shadowed declaration is here
  276 |     uint8_t code, *dst, *end;
      |             ^~~~
--
libavcodec/pcm.c: In function ‘pcm_encode_frame’:
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:119:9: note: in expansion of macro ‘ENCODE’
  119 |         ENCODE(uint32_t, le32, samples, dst, n, 0, 0x80000000)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:122:9: note: in expansion of macro ‘ENCODE’
  122 |         ENCODE(uint32_t, be32, samples, dst, n, 0, 0x80000000)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:125:9: note: in expansion of macro ‘ENCODE’
  125 |         ENCODE(int32_t, le24, samples, dst, n, 8, 0)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:91:27: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   91 |             register type v = (*samples_ ## type++ >> shift) + offset;  \
      |                           ^
libavcodec/pcm.c:128:9: note: in expansion of macro ‘ENCODE_PLANAR’
  128 |         ENCODE_PLANAR(int32_t, le24, dst, n, 8, 0)
      |         ^~~~~~~~~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:131:9: note: in expansion of macro ‘ENCODE’
  131 |         ENCODE(int32_t, be24, samples, dst, n, 8, 0)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:134:9: note: in expansion of macro ‘ENCODE’
  134 |         ENCODE(uint32_t, le24, samples, dst, n, 8, 0x800000)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:137:9: note: in expansion of macro ‘ENCODE’
  137 |         ENCODE(uint32_t, be24, samples, dst, n, 8, 0x800000)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:149:9: note: in expansion of macro ‘ENCODE’
  149 |         ENCODE(uint16_t, le16, samples, dst, n, 0, 0x8000)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:152:9: note: in expansion of macro ‘ENCODE’
  152 |         ENCODE(uint16_t, be16, samples, dst, n, 0, 0x8000)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:155:9: note: in expansion of macro ‘ENCODE’
  155 |         ENCODE(uint8_t, byte, samples, dst, n, 0, -128)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:91:27: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   91 |             register type v = (*samples_ ## type++ >> shift) + offset;  \
      |                           ^
libavcodec/pcm.c:158:9: note: in expansion of macro ‘ENCODE_PLANAR’
  158 |         ENCODE_PLANAR(uint8_t, byte, dst, n, 0, -128)
      |         ^~~~~~~~~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:186:9: note: in expansion of macro ‘ENCODE’
  186 |         ENCODE(int64_t, be64, samples, dst, n, 0, 0)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:190:9: note: in expansion of macro ‘ENCODE’
  190 |         ENCODE(int32_t, be32, samples, dst, n, 0, 0)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:81:23: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   81 |         register type v = (*samples_ ## type++ >> shift) + offset;      \
      |                       ^
libavcodec/pcm.c:193:9: note: in expansion of macro ‘ENCODE’
  193 |         ENCODE(int16_t, be16, samples, dst, n, 0, 0)
      |         ^~~~~~
--
      |                            ^
libavcodec/pcm.c:91:27: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   91 |             register type v = (*samples_ ## type++ >> shift) + offset;  \
      |                           ^
libavcodec/pcm.c:196:9: note: in expansion of macro ‘ENCODE_PLANAR’
  196 |         ENCODE_PLANAR(int16_t, be16, dst, n, 0, 0)
      |         ^~~~~~~~~~~~~
--
libavcodec/photocd.c: In function ‘interp_lines’:
libavcodec/photocd.c:151:24: warning: declaration of ‘src1’ shadows a previous local [-Wshadow]
  151 |         const uint8_t *src1 = ptr;
      |                        ^~~~
libavcodec/photocd.c:146:20: note: shadowed declaration is here
  146 |     const uint8_t *src1;
      |                    ^~~~
libavcodec/photocd.c:152:18: warning: declaration of ‘dst’ shadows a previous local [-Wshadow]
  152 |         uint8_t *dst = ptr + linesize;
      |                  ^~~
libavcodec/photocd.c:147:14: note: shadowed declaration is here
  147 |     uint8_t *dst;
      |              ^~~
--
libavcodec/pngdec.c: In function ‘decode_trns_chunk’:
libavcodec/pngdec.c:1011:22: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
 1011 |             unsigned v = bytestream2_get_byte(gb);
      |                      ^
libavcodec/pngdec.c:994:9: note: shadowed declaration is here
  994 |     int v, i;
      |         ^
libavcodec/pngdec.c: In function ‘decode_frame_common’:
libavcodec/pngdec.c:1584:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1584 |             for (int i = 0; i < 3; i++) {
      |                      ^
libavcodec/pngdec.c:1386:9: note: shadowed declaration is here
 1386 |     int i, ret;
      |         ^
--
libavcodec/pnmdec.c: In function ‘pnm_decode_frame’:
libavcodec/pnmdec.c:171:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  171 |             for (int i = 0; i < avctx->height; i++) {
      |                      ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:176:35: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  176 |                     for (unsigned j = 0; j < n; j++)
      |                                   ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:180:35: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  180 |                     for (unsigned j = 0; j < n / 2; j++) {
      |                                   ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:226:26: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  226 |             unsigned int j, v;
      |                          ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:274:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  274 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:275:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  275 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:292:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  292 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:293:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  293 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:315:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  315 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:316:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  316 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:333:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  333 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:334:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  334 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:362:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  362 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:363:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  363 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:371:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  371 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:372:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  372 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:385:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  385 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:386:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  386 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmdec.c:394:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  394 |                 for (int i = 0; i < avctx->height; i++) {
      |                          ^
libavcodec/pnmdec.c:50:9: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |         ^
libavcodec/pnmdec.c:395:30: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  395 |                     for (int j = 0; j < avctx->width; j++) {
      |                              ^
libavcodec/pnmdec.c:50:12: note: shadowed declaration is here
   50 |     int i, j, k, n, linesize, h, upgrade = 0, is_mono = 0;
      |            ^
libavcodec/pnmenc.c: In function ‘pnm_encode_frame’:
libavcodec/pnmenc.c:144:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  144 |         for (int i = 0; i < avctx->height; i++) {
      |                  ^
libavcodec/pnmenc.c:41:9: note: shadowed declaration is here
   41 |     int i, h, h1, c, n, linesize, ret;
      |         ^
libavcodec/pnmenc.c:161:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  161 |         for (int i = 0; i < avctx->height; i++) {
      |                  ^
libavcodec/pnmenc.c:41:9: note: shadowed declaration is here
   41 |     int i, h, h1, c, n, linesize, ret;
      |         ^
libavcodec/pnmenc.c:174:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  174 |         for (int i = 0; i < avctx->height; i++) {
      |                  ^
libavcodec/pnmenc.c:41:9: note: shadowed declaration is here
   41 |     int i, h, h1, c, n, linesize, ret;
      |         ^
libavcodec/pnmenc.c:189:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  189 |         for (int i = 0; i < avctx->height; i++) {
      |                  ^
libavcodec/pnmenc.c:41:9: note: shadowed declaration is here
   41 |     int i, h, h1, c, n, linesize, ret;
      |         ^
--
CC	libavcodec/pthread_frame.o
libavcodec/proresdec.c:732:16: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  732 |         size_t i, j;
      |                ^
libavcodec/proresdec.c:645:9: note: shadowed declaration is here
  645 |     int i, hdr_size, qscale, log2_chroma_blocks_per_mb;
      |         ^
--
libavcodec/qdmc.c: In function ‘qdmc_init_static_data’:
libavcodec/qdmc.c:171:19: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  171 |     for (unsigned i = 0, offset = 0; i < FF_ARRAY_ELEMS(vtable); i++) {
      |                   ^
libavcodec/qdmc.c:169:9: note: shadowed declaration is here
  169 |     int i;
      |         ^
--
libavcodec/ratecontrol.c: In function ‘ff_rate_control_init’:
libavcodec/ratecontrol.c:570:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  570 |         int i;
      |             ^
libavcodec/ratecontrol.c:500:9: note: shadowed declaration is here
  500 |     int i, res;
      |         ^
--
libavcodec/rka.c: In function ‘amdl_decode_int’:
libavcodec/rka.c:431:22: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  431 |             for (int j = size; j > 0; j &= (j - 1) )
      |                      ^
libavcodec/rka.c:413:9: note: shadowed declaration is here
  413 |     int j;
      |         ^
--
libavcodec/rv10.c: In function ‘rv10_decode_packet’:
libavcodec/rv10.c:492:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  492 |         int ret;
      |             ^~~
libavcodec/rv10.c:413:63: note: shadowed declaration is here
  413 |     int mb_count, mb_pos, left, start_mb_x, active_bits_size, ret;
      |                                                               ^~~
--
libavcodec/rv40dsp.c: In function ‘avg_pixels8_xy2_8_c’:
libavcodec/rv40dsp.c:231:22: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  231 |             uint32_t a = AV_RN32(pixels);                               \
      |                      ^
libavcodec/rv40dsp.c:264:1: note: in expansion of macro ‘PIXOP2’
  264 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/rv40dsp.c:232:22: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  232 |             uint32_t b = AV_RN32(pixels + 1);                           \
      |                      ^
libavcodec/rv40dsp.c:264:1: note: in expansion of macro ‘PIXOP2’
  264 | PIXOP2(avg, op_avg)
      | ^~~~~~
--
libavcodec/rv40dsp.c: In function ‘put_pixels8_xy2_8_c’:
libavcodec/rv40dsp.c:231:22: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  231 |             uint32_t a = AV_RN32(pixels);                               \
      |                      ^
libavcodec/rv40dsp.c:265:1: note: in expansion of macro ‘PIXOP2’
  265 | PIXOP2(put, op_put)
      | ^~~~~~
--
      | ^~~~~~
libavcodec/rv40dsp.c:232:22: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  232 |             uint32_t b = AV_RN32(pixels + 1);                           \
      |                      ^
libavcodec/rv40dsp.c:265:1: note: in expansion of macro ‘PIXOP2’
  265 | PIXOP2(put, op_put)
      | ^~~~~~
--
libavcodec/rv34.c: In function ‘ff_rv34_decode_frame’:
libavcodec/rv34.c:1710:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1710 |             int i;
      |                 ^
libavcodec/rv34.c:1624:9: note: shadowed declaration is here
 1624 |     int i, ret;
      |         ^
libavcodec/rv40.c: In function ‘rv40_init_tables’:
libavcodec/rv40.c:72:19: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
   72 |     for (unsigned i = 0; i < AIC_MODE2_NUM; i++){
      |                   ^
libavcodec/rv40.c:61:9: note: shadowed declaration is here
   61 |     int i;
      |         ^
libavcodec/rv34.c:1766:13: warning: declaration of ‘offset’ shadows a previous local [-Wshadow]
 1766 |         int offset  = get_slice_offset(avctx, slices_hdr, i  , slice_count, buf_size);
      |             ^~~~~~
libavcodec/rv34.c:1629:9: note: shadowed declaration is here
 1629 |     int offset;
      |         ^~~~~~
libavcodec/rv40.c: In function ‘rv40_loop_filter’:
libavcodec/rv40.c:374:13: warning: declaration of ‘mbtype’ shadows a previous local [-Wshadow]
  374 |         int mbtype = s->cur_pic.mb_type[mb_pos];
      |             ^~~~~~
libavcodec/rv40.c:346:9: note: shadowed declaration is here
  346 |     int mbtype[4];   ///< current macroblock and its neighbours types
      |         ^~~~~~
--
libavcodec/sheervideo.c: In function ‘decode_ca4i’:
libavcodec/sheervideo.c:62:21: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
   62 |                 int y, u, v, a;
      |                     ^
libavcodec/sheervideo.c:43:12: note: shadowed declaration is here
   43 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_ca4p’:
libavcodec/sheervideo.c:105:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  105 |             int y, u, v, a;
      |                 ^
libavcodec/sheervideo.c:87:12: note: shadowed declaration is here
   87 |     int x, y;
      |            ^
libavcodec/sheervideo.c:134:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  134 |             int y, u, v, a;
      |                 ^
libavcodec/sheervideo.c:87:12: note: shadowed declaration is here
   87 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_ybr10i’:
libavcodec/sheervideo.c:192:21: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  192 |                 int y, u, v;
      |                     ^
libavcodec/sheervideo.c:175:12: note: shadowed declaration is here
  175 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_ybr10’:
libavcodec/sheervideo.c:230:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  230 |             int y, u, v;
      |                 ^
libavcodec/sheervideo.c:214:12: note: shadowed declaration is here
  214 |     int x, y;
      |            ^
libavcodec/sheervideo.c:255:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  255 |             int y, u, v;
      |                 ^
libavcodec/sheervideo.c:214:12: note: shadowed declaration is here
  214 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_ybri’:
libavcodec/sheervideo.c:975:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  975 |             int y, u, v;
      |                 ^
libavcodec/sheervideo.c:959:12: note: shadowed declaration is here
  959 |     int x, y;
      |            ^
CC	libavcodec/sipr_parser.o
libavcodec/sheervideo.c:1000:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1000 |             int y, u, v;
      |                 ^
libavcodec/sheervideo.c:959:12: note: shadowed declaration is here
  959 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_ybr’:
libavcodec/sheervideo.c:1043:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1043 |             int y, u, v;
      |                 ^
libavcodec/sheervideo.c:1027:12: note: shadowed declaration is here
 1027 |     int x, y;
      |            ^
libavcodec/sheervideo.c:1068:17: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1068 |             int y, u, v;
      |                 ^
libavcodec/sheervideo.c:1027:12: note: shadowed declaration is here
 1027 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_aybri’:
libavcodec/sheervideo.c:1121:20: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1121 |             int a, y, u, v;
      |                    ^
libavcodec/sheervideo.c:1103:12: note: shadowed declaration is here
 1103 |     int x, y;
      |            ^
libavcodec/sheervideo.c:1150:20: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1150 |             int a, y, u, v;
      |                    ^
libavcodec/sheervideo.c:1103:12: note: shadowed declaration is here
 1103 |     int x, y;
      |            ^
libavcodec/sheervideo.c: In function ‘decode_aybr’:
libavcodec/sheervideo.c:1199:20: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1199 |             int a, y, u, v;
      |                    ^
libavcodec/sheervideo.c:1181:12: note: shadowed declaration is here
 1181 |     int x, y;
      |            ^
libavcodec/sheervideo.c:1228:20: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1228 |             int a, y, u, v;
      |                    ^
libavcodec/sheervideo.c:1181:12: note: shadowed declaration is here
 1181 |     int x, y;
      |            ^
--
libavcodec/snow.c: In function ‘ff_snow_inner_add_yblock’:
libavcodec/snow.c:39:24: warning: declaration of ‘obmc4’ shadows a global declaration [-Wshadow]
   39 |         const uint8_t *obmc4= obmc3+ (obmc_stride>>1);
      |                        ^~~~~
In file included from libavcodec/snow.c:27:
libavcodec/snowdata.h:96:22: note: shadowed declaration is here
   96 | static const uint8_t obmc4[16]={
--
libavcodec/snow.c: In function ‘mc_block’:
libavcodec/snow.c:273:13: warning: declaration of ‘b’ shadows a previous local [-Wshadow]
  273 |         int b= 8-a;
      |             ^
libavcodec/snow.c:130:15: note: shadowed declaration is here
  130 |     int x, y, b, r, l;
      |               ^
libavcodec/snow_dwt.c: In function ‘w_c’:
libavcodec/snow_dwt.c:804:25: warning: declaration of ‘v’ shadows a parameter [-Wshadow]
  804 |                     int v = tmp[sx + sy + i * stride + j] *
      |                         ^
libavcodec/snow_dwt.c:744:46: note: shadowed declaration is here
  744 | static inline int w_c(struct MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t line_size,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~^
--
libavcodec/snowdec.c: In function ‘decode_frame’:
libavcodec/snowdec.c:708:13: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  708 |         int y;
      |             ^
libavcodec/snowdec.c:679:16: note: shadowed declaration is here
  679 |         int x, y;
      |                ^
libavcodec/snowdec.c:726:25: warning: declaration of ‘end_y’ shadows a previous local [-Wshadow]
  726 |                     int end_y;
      |                         ^~~~~
libavcodec/snowdec.c:709:13: note: shadowed declaration is here
  709 |         int end_y;
      |             ^~~~~
--
libavcodec/snowenc.c: In function ‘get_dc’:
libavcodec/snowenc.c:700:21: warning: declaration of ‘index’ shadows a previous local [-Wshadow]
  700 |                 int index= x2-(block_w*mb_x - block_w/2) + (y2-(block_h*mb_y - block_h/2))*obmc_stride;
      |                     ^~~~~
libavcodec/snowenc.c:677:9: note: shadowed declaration is here
  677 |     int index= mb_x + mb_y*b_stride;
      |         ^~~~~
libavcodec/snowenc.c: In function ‘encode_frame’:
libavcodec/snowenc.c:1922:16: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
 1922 |         int x, y;
      |                ^
libavcodec/snowenc.c:1766:45: note: shadowed declaration is here
 1766 |     int level, orientation, plane_index, i, y, ret;
      |                                             ^
--
libavcodec/sunrast.c: In function ‘sunrast_decode_frame’:
libavcodec/sunrast.c:135:22: warning: declaration of ‘len’ shadows a previous local [-Wshadow]
  135 |         unsigned int len = maplength / 3;
      |                      ^~~
libavcodec/sunrast.c:36:63: note: shadowed declaration is here
   36 |     unsigned int w, h, depth, type, maptype, maplength, x, y, len, alen;
      |                                                               ^~~
--
libavcodec/sunrastenc.c: In function ‘sunrast_image_write_image’:
libavcodec/sunrastenc.c:67:13: warning: declaration of ‘len’ shadows a previous local [-Wshadow]
   67 |         int len = s->maplength / 3;
      |             ^~~
libavcodec/sunrastenc.c:63:9: note: shadowed declaration is here
   63 |     int len, alen, x, y;
      |         ^~~
--
libavcodec/svq1enc.c: In function ‘svq1_encode_frame’:
libavcodec/svq1enc.c:685:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  685 |         int ret = svq1_encode_plane(s, i, &pb,
      |             ^~~
libavcodec/svq1enc.c:644:12: note: shadowed declaration is here
  644 |     int i, ret;
      |            ^~~
--
libavcodec/svq3.c: In function ‘svq3_decode_slice_header’:
libavcodec/svq3.c:1046:22: warning: declaration of ‘header’ shadows a previous local [-Wshadow]
 1046 |             uint32_t header = AV_RL32(&s->slice_buf[1]);
      |                      ^~~~~~
libavcodec/svq3.c:1012:12: note: shadowed declaration is here
 1012 |     int i, header;
      |            ^~~~~~
libavcodec/svq3.c: In function ‘svq3_decode_frame’:
libavcodec/svq3.c:1492:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1492 |         int i;
      |             ^
libavcodec/svq3.c:1380:17: note: shadowed declaration is here
 1380 |     int ret, m, i;
      |                 ^
--
libavcodec/targa.c: In function ‘decode_frame’:
libavcodec/targa.c:222:23: warning: declaration of ‘pal’ shadows a previous local [-Wshadow]
  222 |             uint32_t *pal = ((uint32_t *)p->data[1]) + first_clr;
      |                       ^~~
libavcodec/targa.c:114:16: note: shadowed declaration is here
  114 |     int idlen, pal, compr, y, w, h, bpp, flags, ret;
      |                ^~~
libavcodec/targa.c:281:18: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  281 |         for (int y = 0; y < h; y++) {
      |                  ^
libavcodec/targa.c:114:28: note: shadowed declaration is here
  114 |     int idlen, pal, compr, y, w, h, bpp, flags, ret;
      |                            ^
--
libavcodec/tiff.c: In function ‘set_sar’:
libavcodec/tiff.c:1236:18: warning: declaration of ‘num’ shadows a parameter [-Wshadow]
 1236 |         uint64_t num = s->res[2] * (uint64_t)s->res[1];
      |                  ^~~
libavcodec/tiff.c:1230:60: note: shadowed declaration is here
 1230 | static void set_sar(TiffContext *s, unsigned tag, unsigned num, unsigned den)
      |                                                   ~~~~~~~~~^~~
libavcodec/tiff.c:1237:18: warning: declaration of ‘den’ shadows a parameter [-Wshadow]
 1237 |         uint64_t den = s->res[0] * (uint64_t)s->res[3];
      |                  ^~~
libavcodec/tiff.c:1230:74: note: shadowed declaration is here
 1230 | static void set_sar(TiffContext *s, unsigned tag, unsigned num, unsigned den)
      |                                                                 ~~~~~~~~~^~~
--
libavcodec/tiff.c: In function ‘tiff_decode_tag’:
libavcodec/tiff.c:1463:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1463 |         for (int i = 0; i < count; i++)
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1471:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1471 |         for (int i = 0; i < count && count > 1; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
CC	libavcodec/truemotion1.o
libavcodec/tiff.c:1482:21: warning: declaration of ‘value’ shadows a previous local [-Wshadow]
 1482 |                 int value  = ff_tget_long(&s->gb, s->le);
      |                     ^~~~~
libavcodec/tiff.c:1253:37: note: shadowed declaration is here
 1253 |     unsigned tag, type, count, off, value = 0, value2 = 1; // value2 is a denominator so init. to 1
      |                                     ^~~~~
libavcodec/tiff.c:1483:21: warning: declaration of ‘value2’ shadows a previous local [-Wshadow]
 1483 |                 int value2 = ff_tget_long(&s->gb, s->le);
      |                     ^~~~~~
libavcodec/tiff.c:1253:48: note: shadowed declaration is here
 1253 |     unsigned tag, type, count, off, value = 0, value2 = 1; // value2 is a denominator so init. to 1
      |                                                ^~~~~~
libavcodec/tiff.c:1494:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1494 |         for (int i = count; i < 4 && count > 0; i++)
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1791:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1791 |         for (int i = 0; i < 3; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1806:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1806 |         for (int i = 0; i < 3; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1821:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1821 |         for (int i = 0; i < 2; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1832:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1832 |         for (int i = 0; i < 3; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1838:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1838 |         for (int i = 0; i < 3; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1840:21: warning: declaration of ‘value’ shadows a previous local [-Wshadow]
 1840 |                 int value  = ff_tget_long(&s->gb, s->le);
      |                     ^~~~~
libavcodec/tiff.c:1253:37: note: shadowed declaration is here
 1253 |     unsigned tag, type, count, off, value = 0, value2 = 1; // value2 is a denominator so init. to 1
      |                                     ^~~~~
libavcodec/tiff.c:1841:21: warning: declaration of ‘value2’ shadows a previous local [-Wshadow]
 1841 |                 int value2 = ff_tget_long(&s->gb, s->le);
      |                     ^~~~~~
libavcodec/tiff.c:1253:48: note: shadowed declaration is here
 1253 |     unsigned tag, type, count, off, value = 0, value2 = 1; // value2 is a denominator so init. to 1
      |                                                ^~~~~~
libavcodec/tiff.c:1853:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1853 |         for (int i = 0; i < 3; i++) {
      |                  ^
libavcodec/tiff.c:1254:9: note: shadowed declaration is here
 1254 |     int i, start;
      |         ^
libavcodec/tiff.c:1855:21: warning: declaration of ‘value’ shadows a previous local [-Wshadow]
 1855 |                 int value  = ff_tget_long(&s->gb, s->le);
      |                     ^~~~~
libavcodec/tiff.c:1253:37: note: shadowed declaration is here
 1253 |     unsigned tag, type, count, off, value = 0, value2 = 1; // value2 is a denominator so init. to 1
      |                                     ^~~~~
libavcodec/tiff.c:1856:21: warning: declaration of ‘value2’ shadows a previous local [-Wshadow]
 1856 |                 int value2 = ff_tget_long(&s->gb, s->le);
      |                     ^~~~~~
libavcodec/tiff.c:1253:48: note: shadowed declaration is here
 1253 |     unsigned tag, type, count, off, value = 0, value2 = 1; // value2 is a denominator so init. to 1
      |                                                ^~~~~~
--
libavcodec/tiff.c: In function ‘decode_frame’:
libavcodec/tiff.c:2396:19: warning: declaration of ‘dst’ shadows a previous local [-Wshadow]
 2396 |         uint16_t *dst = (uint16_t *)p->data[0];
      |                   ^~~
libavcodec/tiff.c:1932:14: note: shadowed declaration is here
 1932 |     uint8_t *dst;
      |              ^~~
--
libavcodec/tta.c: In function ‘tta_decode_frame’:
libavcodec/tta.c:264:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  264 |             int i;
      |                 ^
libavcodec/tta.c:236:9: note: shadowed declaration is here
  236 |     int i, ret;
      |         ^
--
libavcodec/txd.c: In function ‘txd_decode_frame’:
libavcodec/txd.c:124:30: warning: declaration of ‘p’ shadows a parameter [-Wshadow]
  124 |                     uint8_t *p = ptr + i * 4 + j * stride;
      |                              ^
libavcodec/txd.c:33:61: note: shadowed declaration is here
   33 | static int txd_decode_frame(AVCodecContext *avctx, AVFrame *p,
      |                                                    ~~~~~~~~~^
libavcodec/txd.c:133:30: warning: declaration of ‘p’ shadows a parameter [-Wshadow]
  133 |                     uint8_t *p = ptr + i * 4 + j * stride;
      |                              ^
libavcodec/txd.c:33:61: note: shadowed declaration is here
   33 | static int txd_decode_frame(AVCodecContext *avctx, AVFrame *p,
      |                                                    ~~~~~~~~~^
--
libavcodec/utvideodec.c: In function ‘build_huff’:
libavcodec/utvideodec.c:106:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  106 |     for (int i = 31; i >= 0; i--)
      |              ^
libavcodec/utvideodec.c:79:9: note: shadowed declaration is here
   79 |     int i;
      |         ^
libavcodec/utvideodec.c:109:19: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  109 |     for (unsigned i = 0; i < nb_elems; i++)
      |                   ^
libavcodec/utvideodec.c:79:9: note: shadowed declaration is here
   79 |     int i;
      |         ^
--
libavcodec/v210dec.c: In function ‘decode_frame’:
libavcodec/v210dec.c:198:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  198 |         int ret = av_image_alloc(pointers, linesizes, avctx->width, avctx->height, avctx->pix_fmt, 1);
      |             ^~~
libavcodec/v210dec.c:141:9: note: shadowed declaration is here
  141 |     int ret, stride, aligned_input;
      |         ^~~
--
libavcodec/vaapi_encode.c: In function ‘vaapi_encode_issue’:
libavcodec/vaapi_encode.c:538:21: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  538 |         int nb_roi, i, v;
      |                     ^
libavcodec/vaapi_encode.c:277:14: note: shadowed declaration is here
  277 |     int err, i;
      |              ^
libavcodec/vaapi_encode_av1.c: In function ‘vaapi_encode_av1_init_picture_params’:
libavcodec/vaapi_encode_av1.c:677:41: warning: declaration of ‘obu’ shadows a previous local [-Wshadow]
  677 |                 AV1RawOBU              *obu = &priv->mh[priv->nb_mh++];
      |                                         ^~~
libavcodec/vaapi_encode_av1.c:478:38: note: shadowed declaration is here
  478 |     CodedBitstreamFragment          *obu = &priv->current_obu;
      |                                      ^~~
CC	libavcodec/vaapi_encode_mpeg2.o
libavcodec/vaapi_encode_av1.c:717:38: warning: declaration of ‘obu’ shadows a previous local [-Wshadow]
  717 |             AV1RawOBU               *obu = &priv->mh[priv->nb_mh++];
      |                                      ^~~
libavcodec/vaapi_encode_av1.c:478:38: note: shadowed declaration is here
  478 |     CodedBitstreamFragment          *obu = &priv->current_obu;
      |                                      ^~~
--
libavcodec/vaapi_encode_h265.c: In function ‘vaapi_encode_h265_init_sequence_params’:
libavcodec/vaapi_encode_h265.c:512:23: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  512 |         int num, den, i;
      |                       ^
libavcodec/vaapi_encode_h265.c:275:9: note: shadowed declaration is here
  275 |     int i;
      |         ^
libavcodec/vaapi_encode_h265.c: In function ‘vaapi_encode_h265_init_picture_params’:
libavcodec/vaapi_encode_h265.c:850:31: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
  850 |                     const int j = mapping[i];
      |                               ^
libavcodec/vaapi_encode_h265.c:769:12: note: shadowed declaration is here
  769 |     int i, j = 0;
      |            ^
libavcodec/vaapi_encode_h265.c: In function ‘vaapi_encode_h265_init_slice_params’:
libavcodec/vaapi_encode_h265.c:1014:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1014 |         int i, j, poc, rps_pics;
      |             ^
libavcodec/vaapi_encode_h265.c:988:9: note: shadowed declaration is here
  988 |     int i;
      |         ^
--
libavcodec/vaapi_vc1.c: In function ‘vaapi_vc1_start_frame’:
libavcodec/vaapi_vc1.c:396:16: warning: declaration of ‘size’ shadows a parameter [-Wshadow]
  396 |         size_t size = (s->mb_width * s->mb_height + 1) / 2;
      |                ^~~~
libavcodec/vaapi_vc1.c:252:109: note: shadowed declaration is here
  252 | static int vaapi_vc1_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
CC	libavcodec/vbnenc.o
--
libavcodec/vc1_block.c: In function ‘vc1_decode_b_mb_intfr’:
libavcodec/vc1_block.c:2500:29: warning: declaration of ‘dir2’ shadows a previous local [-Wshadow]
 2500 |                         int dir2 = dir;
      |                             ^~~~
libavcodec/vc1_block.c:2205:14: note: shadowed declaration is here
 2205 |     int dir, dir2;
      |              ^~~~
--
libavcodec/vorbisdec.c: In function ‘vorbis_floor0_decode’:
libavcodec/vorbisdec.c:1167:17: warning: declaration of ‘idx’ shadows a previous local [-Wshadow]
 1167 |             int idx;
      |                 ^~~
libavcodec/vorbisdec.c:1132:18: note: shadowed declaration is here
 1132 |         unsigned idx, lsp_len = 0;
      |                  ^~~
--
libavcodec/vorbisenc.c: In function ‘vorbis_encode_frame’:
libavcodec/vorbisenc.c:1128:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1128 |             int i;
      |                 ^
libavcodec/vorbisenc.c:1101:9: note: shadowed declaration is here
 1101 |     int i, ret, need_more;
      |         ^
--
libavcodec/vp5.c: In function ‘vp5_parse_header’:
libavcodec/vp5.c:81:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
   81 |             int ret = ff_set_dimensions(s->avctx, 16 * cols, 16 * rows);
      |                 ^~~
libavcodec/vp5.c:42:9: note: shadowed declaration is here
   42 |     int ret;
      |         ^~~
--
libavcodec/vp6.c: In function ‘vp6_parse_coeff_huffman’:
libavcodec/vp6.c:438:29: warning: declaration of ‘pt’ shadows a previous local [-Wshadow]
  438 |                         int pt = (coeff_idx >= 6);
      |                             ^~
libavcodec/vp6.c:419:9: note: shadowed declaration is here
  419 |     int pt = 0;    /* plane type (0 for Y, 1 for U or V) */
      |         ^~
--
libavcodec/vp8.c: In function ‘intra_predict’:
libavcodec/vp8.c:1729:26: warning: declaration of ‘dst’ shadows a parameter [-Wshadow]
 1729 |                 uint8_t *dst = ptr + 4 * x;
      |                          ^~~
libavcodec/vp8.c:1687:69: note: shadowed declaration is here
 1687 | void intra_predict(VP8Context *s, VP8ThreadData *td, uint8_t *const dst[3],
      |                                                      ~~~~~~~~~~~~~~~^~~~~~
--
libavcodec/vp9.c: In function ‘decode_frame_header’:
libavcodec/vp9.c:823:22: warning: declaration of ‘ref’ shadows a parameter [-Wshadow]
  823 |             AVFrame *ref = s->s.refs[s->s.h.refidx[i]].f;
      |                      ^~~
libavcodec/vp9.c:499:68: note: shadowed declaration is here
  499 |                                const uint8_t *data, int size, int *ref)
      |                                                               ~~~~~^~~
libavcodec/vp9.c:934:19: warning: declaration of ‘ref’ shadows a parameter [-Wshadow]
  934 |         uint8_t (*ref)[2][6][6][3] = s->prob_ctx[c].coef[i];
      |                   ^~~
libavcodec/vp9.c:499:68: note: shadowed declaration is here
  499 |                                const uint8_t *data, int size, int *ref)
      |                                                               ~~~~~^~~
--
libavcodec/vp9.c: In function ‘vp9_decode_free’:
libavcodec/vp9.c:1240:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1240 |     for (int i = 0; i < 3; i++)
      |              ^
In function ‘add_level’,
    inlined from ‘add_level’ at libavcodec/vlc.c:457:17,
    inlined from ‘add_level’ at libavcodec/vlc.c:457:17,
--
libavcodec/vp9.c: In function ‘vp9_export_enc_params’:
libavcodec/vp9.c:1520:22: warning: declaration of ‘tile’ shadows a previous local [-Wshadow]
 1520 |         unsigned int tile, block_tile;
      |                      ^~~~
libavcodec/vp9.c:1499:18: note: shadowed declaration is here
 1499 |     unsigned int tile, nb_blocks = 0;
      |                  ^~~~
libavcodec/vp9.c: In function ‘vp9_decode_frame’:
libavcodec/vp9.c:1567:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1567 |         for (int i = 0; i < 8; i++)
      |                  ^
libavcodec/vp9.c:1554:14: note: shadowed declaration is here
 1554 |     int ret, i, j, ref;
      |              ^
libavcodec/vp9.c:1645:13: warning: declaration of ‘j’ shadows a previous local [-Wshadow]
 1645 |         int j, k, l, m;
      |             ^
libavcodec/vp9.c:1554:17: note: shadowed declaration is here
 1554 |     int ret, i, j, ref;
      |                 ^
libavcodec/vp9.c:1748:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1748 |     for (int i = 0; i < 8; i++)
      |              ^
libavcodec/vp9.c:1554:14: note: shadowed declaration is here
 1554 |     int ret, i, j, ref;
      |              ^
--
libavcodec/vvc/intra_template.c: In function ‘cclm_linear_pred_8’:
libavcodec/vvc/intra_template.c:39:18: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
   39 |         for (int y = 0; y < h; y++) {
      |                  ^
libavcodec/vvc/intra_template.c:36:19: note: shadowed declaration is here
   36 |         const int y = y0 >> sps->vshift[c_idx];
      |                   ^
libavcodec/vvc/intra_template.c:40:22: warning: declaration of ‘x’ shadows a previous local [-Wshadow]
   40 |             for (int x = 0; x < w; x++) {
      |                      ^
libavcodec/vvc/intra_template.c:35:19: note: shadowed declaration is here
   35 |         const int x = x0 >> sps->hshift[c_idx];
      |                   ^
libavcodec/vvc/intra_template.c: In function ‘prepare_intra_edge_params_8’:
libavcodec/vvc/intra_template.c:530:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  530 |     for (int i = -1; i >= ref_line; i--) {
      |              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c:568:30: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  568 |                     for (int x = -h; x < 0; x++) {
      |                              ^
libavcodec/vvc/intra_template.c:469:15: note: shadowed declaration is here
  469 |     const int x, int y, int w, int h, int c_idx, const int is_intra_mip,
      |     ~~~~~~~~~~^
libavcodec/vvc/intra_template.c:573:30: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  573 |                     for (int i = refw; i <= refw + FFMAX(1, w/h) * ref_idx + 1; i++)
      |                              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c:579:30: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  579 |                     for (int x = -w; x < 0; x++) {
      |                              ^
libavcodec/vvc/intra_template.c:469:15: note: shadowed declaration is here
  469 |     const int x, int y, int w, int h, int c_idx, const int is_intra_mip,
      |     ~~~~~~~~~~^
libavcodec/vvc/intra_template.c:584:30: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  584 |                     for (int i = refh; i <= refh + FFMAX(1, h/w) * ref_idx + 1; i++)
      |                              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c: In function ‘intra_pred_8’:
libavcodec/vvc/intra_template.c:661:22: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  661 |             for (int y = 0; y < h; y++) {
      |                      ^
libavcodec/vvc/intra_template.c:610:15: note: shadowed declaration is here
  610 |     const int y = y0 >> vshift;
      |               ^
libavcodec/vvc/intra_template.c:662:26: warning: declaration of ‘x’ shadows a previous local [-Wshadow]
  662 |                 for (int x = 0; x < w; x++) {
      |                          ^
libavcodec/vvc/intra_template.c:609:15: note: shadowed declaration is here
  609 |     const int x = x0 >> hshift;
      |               ^
--
libavcodec/vvc/intra_template.c: In function ‘cclm_linear_pred_10’:
libavcodec/vvc/intra_template.c:39:18: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
   39 |         for (int y = 0; y < h; y++) {
      |                  ^
libavcodec/vvc/intra_template.c:36:19: note: shadowed declaration is here
   36 |         const int y = y0 >> sps->vshift[c_idx];
      |                   ^
libavcodec/vvc/intra_template.c:40:22: warning: declaration of ‘x’ shadows a previous local [-Wshadow]
   40 |             for (int x = 0; x < w; x++) {
      |                      ^
libavcodec/vvc/intra_template.c:35:19: note: shadowed declaration is here
   35 |         const int x = x0 >> sps->hshift[c_idx];
      |                   ^
libavcodec/vvc/intra_template.c: In function ‘prepare_intra_edge_params_10’:
libavcodec/vvc/intra_template.c:530:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  530 |     for (int i = -1; i >= ref_line; i--) {
      |              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c:568:30: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  568 |                     for (int x = -h; x < 0; x++) {
      |                              ^
libavcodec/vvc/intra_template.c:469:15: note: shadowed declaration is here
  469 |     const int x, int y, int w, int h, int c_idx, const int is_intra_mip,
      |     ~~~~~~~~~~^
libavcodec/vvc/intra_template.c:573:30: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  573 |                     for (int i = refw; i <= refw + FFMAX(1, w/h) * ref_idx + 1; i++)
      |                              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c:579:30: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  579 |                     for (int x = -w; x < 0; x++) {
      |                              ^
libavcodec/vvc/intra_template.c:469:15: note: shadowed declaration is here
  469 |     const int x, int y, int w, int h, int c_idx, const int is_intra_mip,
      |     ~~~~~~~~~~^
libavcodec/vvc/intra_template.c:584:30: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  584 |                     for (int i = refh; i <= refh + FFMAX(1, h/w) * ref_idx + 1; i++)
      |                              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c: In function ‘intra_pred_10’:
libavcodec/vvc/intra_template.c:661:22: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  661 |             for (int y = 0; y < h; y++) {
      |                      ^
libavcodec/vvc/intra_template.c:610:15: note: shadowed declaration is here
  610 |     const int y = y0 >> vshift;
      |               ^
libavcodec/vvc/intra_template.c:662:26: warning: declaration of ‘x’ shadows a previous local [-Wshadow]
  662 |                 for (int x = 0; x < w; x++) {
      |                          ^
libavcodec/vvc/intra_template.c:609:15: note: shadowed declaration is here
  609 |     const int x = x0 >> hshift;
      |               ^
libavcodec/vvc/inter.c: In function ‘derive_weight’:
libavcodec/vvc/inter.c:238:23: warning: declaration of ‘pps’ shadows a previous local [-Wshadow]
  238 |         const VVCPPS *pps        = fc->ps.pps;
      |                       ^~~
libavcodec/vvc/inter.c:224:19: note: shadowed declaration is here
  224 |     const VVCPPS *pps         = fc->ps.pps;
      |                   ^~~
--
libavcodec/vvc/intra_template.c: In function ‘cclm_linear_pred_12’:
libavcodec/vvc/intra_template.c:39:18: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
   39 |         for (int y = 0; y < h; y++) {
      |                  ^
libavcodec/vvc/intra_template.c:36:19: note: shadowed declaration is here
   36 |         const int y = y0 >> sps->vshift[c_idx];
      |                   ^
libavcodec/vvc/intra_template.c:40:22: warning: declaration of ‘x’ shadows a previous local [-Wshadow]
   40 |             for (int x = 0; x < w; x++) {
      |                      ^
libavcodec/vvc/intra_template.c:35:19: note: shadowed declaration is here
   35 |         const int x = x0 >> sps->hshift[c_idx];
      |                   ^
libavcodec/vvc/intra_template.c: In function ‘prepare_intra_edge_params_12’:
libavcodec/vvc/intra_template.c:530:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  530 |     for (int i = -1; i >= ref_line; i--) {
      |              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c:568:30: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  568 |                     for (int x = -h; x < 0; x++) {
      |                              ^
libavcodec/vvc/intra_template.c:469:15: note: shadowed declaration is here
  469 |     const int x, int y, int w, int h, int c_idx, const int is_intra_mip,
      |     ~~~~~~~~~~^
libavcodec/vvc/intra_template.c:573:30: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  573 |                     for (int i = refw; i <= refw + FFMAX(1, w/h) * ref_idx + 1; i++)
      |                              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c:579:30: warning: declaration of ‘x’ shadows a parameter [-Wshadow]
  579 |                     for (int x = -w; x < 0; x++) {
      |                              ^
libavcodec/vvc/intra_template.c:469:15: note: shadowed declaration is here
  469 |     const int x, int y, int w, int h, int c_idx, const int is_intra_mip,
      |     ~~~~~~~~~~^
libavcodec/vvc/intra_template.c:584:30: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  584 |                     for (int i = refh; i <= refh + FFMAX(1, h/w) * ref_idx + 1; i++)
      |                              ^
libavcodec/vvc/intra_template.c:491:9: note: shadowed declaration is here
  491 |     int i;
      |         ^
libavcodec/vvc/intra_template.c: In function ‘intra_pred_12’:
libavcodec/vvc/intra_template.c:661:22: warning: declaration of ‘y’ shadows a previous local [-Wshadow]
  661 |             for (int y = 0; y < h; y++) {
      |                      ^
libavcodec/vvc/intra_template.c:610:15: note: shadowed declaration is here
  610 |     const int y = y0 >> vshift;
      |               ^
libavcodec/vvc/intra_template.c:662:26: warning: declaration of ‘x’ shadows a previous local [-Wshadow]
  662 |                 for (int x = 0; x < w; x++) {
      |                          ^
libavcodec/vvc/intra_template.c:609:15: note: shadowed declaration is here
  609 |     const int x = x0 >> hshift;
      |               ^
--
libavcodec/vvc/ps.c: In function ‘lmcs_derive_lut’:
libavcodec/vvc/ps.c:742:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  742 |     for (int i = lmcs->min_bin_idx; i <= lmcs->max_bin_idx; i++)
      |              ^
libavcodec/vvc/ps.c:731:9: note: shadowed declaration is here
  731 |     int i, delta_crs;
      |         ^
--
libavcodec/vvc/refs.c: In function ‘ff_vvc_set_new_ref’:
libavcodec/vvc/refs.c:177:19: warning: declaration of ‘frame’ shadows a parameter [-Wshadow]
  177 |         VVCFrame *frame = &fc->DPB[i];
      |                   ^~~~~
libavcodec/vvc/refs.c:169:70: note: shadowed declaration is here
  169 | int ff_vvc_set_new_ref(VVCContext *s, VVCFrameContext *fc, AVFrame **frame)
      |                                                            ~~~~~~~~~~^~~~~
libavcodec/vvc/thread.c: In function ‘run_init’:
libavcodec/vvc/thread.c:447:26: warning: declaration of ‘t’ shadows a parameter [-Wshadow]
  447 |                 VVCTask *t   = ft->tasks + rs;
      |                          ^
libavcodec/vvc/thread.c:432:66: note: shadowed declaration is here
  432 | static int run_init(VVCContext *s, VVCLocalContext *lc, VVCTask *t)
      |                                                         ~~~~~~~~~^
--
libavcodec/wavarc.c: In function ‘wavarc_decode’:
libavcodec/wavarc.c:838:22: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  838 |             for (int n = 0; n < frame->nb_samples; n++)
      |                      ^
libavcodec/wavarc.c:767:14: note: shadowed declaration is here
  767 |     int ret, n;
      |              ^
libavcodec/wavarc.c:847:22: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  847 |             for (int n = 0; n < frame->nb_samples; n++)
      |                      ^
libavcodec/wavarc.c:767:14: note: shadowed declaration is here
  767 |     int ret, n;
      |              ^
--
libavcodec/wavpack.c: In function ‘wv_unpack_dsd_high’:
libavcodec/wavpack.c:456:21: warning: declaration of ‘sp’ shadows a previous local [-Wshadow]
  456 |         DSDfilters *sp = filters + channel;
      |                     ^~
libavcodec/wavpack.c:440:29: note: shadowed declaration is here
  440 |     DSDfilters filters[2], *sp = filters;
      |                             ^~
libavcodec/wavpack.c: In function ‘wavpack_decode_block’:
libavcodec/wavpack.c:1478:23: warning: declaration of ‘size’ shadows a previous local [-Wshadow]
 1478 |             const int size   = get_bits_left(&s->gb_extra_bits);
      |                       ^~~~
libavcodec/wavpack.c:1101:19: note: shadowed declaration is here
 1101 |     int i, j, id, size, ssize, weights, t;
      |                   ^~~~
libavcodec/wavpackenc.c: In function ‘decorr_stereo’:
libavcodec/wavpackenc.c:1241:17: warning: declaration of ‘k’ shadows a previous local [-Wshadow]
 1241 |             int k;
      |                 ^
libavcodec/wavpackenc.c:1216:13: note: shadowed declaration is here
 1216 |         int k = dpp->value & (MAX_TERM - 1);
      |             ^
libavcodec/wavpackenc.c: In function ‘decorr_stereo_quick’:
libavcodec/wavpackenc.c:1442:17: warning: declaration of ‘k’ shadows a previous local [-Wshadow]
 1442 |             int k;
      |                 ^
libavcodec/wavpackenc.c:1423:13: note: shadowed declaration is here
 1423 |         int k = dpp->value & (MAX_TERM - 1);
      |             ^
libavcodec/wavpackenc.c: In function ‘wavpack_encode_block’:
libavcodec/wavpackenc.c:2617:24: warning: declaration of ‘dpp’ shadows a previous local [-Wshadow]
 2617 |         struct Decorr *dpp = &s->decorr_passes[i];
      |                        ^~~
libavcodec/wavpackenc.c:2476:20: note: shadowed declaration is here
 2476 |     struct Decorr *dpp;
      |                    ^~~
libavcodec/wavpackenc.c:2633:24: warning: declaration of ‘dpp’ shadows a previous local [-Wshadow]
 2633 |         struct Decorr *dpp = &s->decorr_passes[i];
      |                        ^~~
libavcodec/wavpackenc.c:2476:20: note: shadowed declaration is here
 2476 |     struct Decorr *dpp;
      |                    ^~~
libavcodec/wavpackenc.c:2641:24: warning: declaration of ‘dpp’ shadows a previous local [-Wshadow]
 2641 |         struct Decorr *dpp = &s->decorr_passes[i];
      |                        ^~~
libavcodec/wavpackenc.c:2476:20: note: shadowed declaration is here
 2476 |     struct Decorr *dpp;
      |                    ^~~
libavcodec/wavpackenc.c:2666:24: warning: declaration of ‘dpp’ shadows a previous local [-Wshadow]
 2666 |         struct Decorr *dpp = &s->decorr_passes[i];
      |                        ^~~
CC	libavcodec/webp.o
libavcodec/wavpackenc.c:2476:20: note: shadowed declaration is here
 2476 |     struct Decorr *dpp;
      |                    ^~~
libavcodec/wavpackenc.c:37:17: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
   37 |         int32_t s = (int32_t) ((source) ^ (result)) >> 31; \
      |                 ^
libavcodec/wavpackenc.c:2743:17: note: in expansion of macro ‘UPDATE_WEIGHT’
 2743 |                 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, code);
      |                 ^~~~~~~~~~~~~
--
      |                                 ~~~~~~~~~~~~~~~~~~~~~~^
libavcodec/wavpackenc.c:2772:28: warning: declaration of ‘dpp’ shadows a previous local [-Wshadow]
 2772 |             struct Decorr *dpp = &s->decorr_passes[i];
      |                            ^~~
libavcodec/wavpackenc.c:2476:20: note: shadowed declaration is here
 2476 |     struct Decorr *dpp;
      |                    ^~~
--
libavcodec/wma.c: In function ‘ff_wma_init’:
libavcodec/wma.c:197:44: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  197 |         int a, b, pos, lpos, k, block_len, i, j, n;
      |                                            ^
libavcodec/wma.c:83:9: note: shadowed declaration is here
   83 |     int i, ret;
      |         ^
--
libavcodec/wmadec.c: In function ‘wma_decode_block’:
libavcodec/wmadec.c:555:24: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  555 |                 int i, n, a;
      |                        ^
libavcodec/wmadec.c:448:9: note: shadowed declaration is here
  448 |     int n, v, a, ch, bsize;
      |         ^
libavcodec/wmadec.c:555:27: warning: declaration of ‘a’ shadows a previous local [-Wshadow]
  555 |                 int i, n, a;
      |                           ^
CC	libavcodec/wmv2.o
libavcodec/wmadec.c:448:15: note: shadowed declaration is here
  448 |     int n, v, a, ch, bsize;
      |               ^
libavcodec/wmadec.c:568:24: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  568 |                 int i, n, val;
      |                        ^
libavcodec/wmadec.c:448:9: note: shadowed declaration is here
  448 |     int n, v, a, ch, bsize;
      |         ^
libavcodec/wmadec.c:643:23: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
  643 |             int i, j, n, n1, last_high_band, esize;
      |                       ^
libavcodec/wmadec.c:448:9: note: shadowed declaration is here
  448 |     int n, v, a, ch, bsize;
      |         ^
libavcodec/wmadec.c:672:35: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
  672 |                         float e2, v;
      |                                   ^
libavcodec/wmadec.c:448:12: note: shadowed declaration is here
  448 |     int n, v, a, ch, bsize;
      |            ^
libavcodec/wmaenc.c: In function ‘encode_superframe’:
libavcodec/wmaenc.c:393:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  393 |         int i;
      |             ^
libavcodec/wmaenc.c:381:9: note: shadowed declaration is here
  381 |     int i, total_gain, ret, error;
      |         ^
libavcodec/wmalosslessdec.c: In function ‘decode_subframe’:
libavcodec/wmalosslessdec.c:996:13: warning: declaration of ‘subframe_len’ shadows a previous local [-Wshadow]
  996 |         int subframe_len = s->channel[c].subframe_len[s->channel[c].cur_subframe];
      |             ^~~~~~~~~~~~
libavcodec/wmalosslessdec.c:842:9: note: shadowed declaration is here
  842 |     int subframe_len  = s->samples_per_frame;
      |         ^~~~~~~~~~~~
libavcodec/wmaprodec.c: In function ‘decode_channel_transform’:
libavcodec/wmaprodec.c:905:25: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  905 |                     int i;
      |                         ^
libavcodec/wmaprodec.c:814:9: note: shadowed declaration is here
  814 |     int i;
      |         ^
libavcodec/wmaprodec.c: In function ‘decode_scale_factors’:
libavcodec/wmaprodec.c:1072:21: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1072 |                 int i;
      |                     ^
libavcodec/wmaprodec.c:1034:9: note: shadowed declaration is here
 1034 |     int i;
      |         ^
libavcodec/wmaprodec.c: In function ‘xma_decode_init’:
libavcodec/wmaprodec.c:2020:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 2020 |     for (int i = 0; i < XMA_MAX_STREAMS; i++) {
      |              ^
libavcodec/wmaprodec.c:1963:9: note: shadowed declaration is here
 1963 |     int i, ret, start_channels = 0;
      |         ^
--
libswscale/output.c: In function ‘yuv2rgba64_1_c_template’:
libswscale/output.c:1254:13: warning: declaration of ‘A1’ shadows a previous local [-Wshadow]
 1254 |         int A1 = 0xffff<<14, A2 = 0xffff<<14;
      |             ^~
libswscale/output.c:1206:9: note: shadowed declaration is here
 1206 |     int A1 = 0xffff<<14, A2= 0xffff<<14;
      |         ^~
libswscale/output.c:1254:30: warning: declaration of ‘A2’ shadows a previous local [-Wshadow]
 1254 |         int A1 = 0xffff<<14, A2 = 0xffff<<14;
      |                              ^~
libswscale/output.c:1206:26: note: shadowed declaration is here
 1206 |     int A1 = 0xffff<<14, A2= 0xffff<<14;
      |                          ^~
libswscale/output.c: In function ‘yuv2rgba64_full_1_c_template’:
libswscale/output.c:1463:13: warning: declaration of ‘A’ shadows a previous local [-Wshadow]
 1463 |         int A = 0xffff<<14;
      |             ^
libswscale/output.c:1428:9: note: shadowed declaration is here
 1428 |     int A = 0xffff<<14;
      |         ^
libswscale/swscale.c: In function ‘swscale’:
libswscale/swscale.c:507:39: warning: declaration of ‘desc’ shadows a previous local [-Wshadow]
  507 |             const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(dstFormat);
      |                                       ^~~~
libswscale/swscale.c:283:26: note: shadowed declaration is here
  283 |     SwsFilterDescriptor *desc = c->desc;
      |                          ^~~~
libswscale/swscale.c:512:39: warning: declaration of ‘desc’ shadows a previous local [-Wshadow]
  512 |             const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(dstFormat);
      |                                       ^~~~
libswscale/swscale.c:283:26: note: shadowed declaration is here
  283 |     SwsFilterDescriptor *desc = c->desc;
      |                          ^~~~
libswscale/utils.c: In function ‘initFilter’:
libswscale/utils.c:441:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  441 |         int i;
      |             ^
libswscale/utils.c:425:9: note: shadowed declaration is here
  425 |     int i;
      |         ^
libswscale/utils.c:451:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  451 |         int i;
      |             ^
libswscale/utils.c:425:9: note: shadowed declaration is here
  425 |     int i;
      |         ^
libswscale/utils.c:467:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  467 |         int i;
      |             ^
libswscale/utils.c:425:9: note: shadowed declaration is here
  425 |     int i;
      |         ^
--
libswscale/vscale.c: In function ‘lum_planar_vscale’:
libswscale/vscale.c:59:13: warning: declaration of ‘sp’ shadows a previous local [-Wshadow]
   59 |         int sp = first - desc->src->plane[3].sliceY;
      |             ^~
libswscale/vscale.c:47:9: note: shadowed declaration is here
   47 |     int sp = first - desc->src->plane[0].sliceY;
      |         ^~
libswscale/vscale.c:60:13: warning: declaration of ‘dp’ shadows a previous local [-Wshadow]
   60 |         int dp = sliceY - desc->dst->plane[3].sliceY;
      |             ^~
libswscale/vscale.c:48:9: note: shadowed declaration is here
   48 |     int dp = sliceY - desc->dst->plane[0].sliceY;
      |         ^~
libswscale/vscale.c:61:19: warning: declaration of ‘src’ shadows a previous local [-Wshadow]
   61 |         uint8_t **src = desc->src->plane[3].line + sp;
      |                   ^~~
libswscale/vscale.c:49:15: note: shadowed declaration is here
   49 |     uint8_t **src = desc->src->plane[0].line + sp;
      |               ^~~
libswscale/vscale.c:62:19: warning: declaration of ‘dst’ shadows a previous local [-Wshadow]
   62 |         uint8_t **dst = desc->dst->plane[3].line + dp;
      |                   ^~~
libswscale/vscale.c:50:15: note: shadowed declaration is here
   50 |     uint8_t **dst = desc->dst->plane[0].line + dp;
      |               ^~~
libswscale/vscale.c:63:19: warning: declaration of ‘filter’ shadows a previous local [-Wshadow]
   63 |         uint16_t *filter = inst->filter[1] + (inst->isMMX ? 0 : sliceY * inst->filter_size);
      |                   ^~~~~~
libswscale/vscale.c:51:15: note: shadowed declaration is here
   51 |     uint16_t *filter = inst->filter[0] + (inst->isMMX ? 0 : sliceY * inst->filter_size);
      |               ^~~~~~
--
libswscale/x86/swscale.c: In function ‘ff_updateMMXDitherTables’:
libswscale/x86/swscale.c:102:38: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  102 |             int neg = -firstLumSrcY, i, end = FFMIN(c->srcH - firstLumSrcY, vLumFilterSize);
      |                                      ^
libswscale/x86/swscale.c:98:13: note: shadowed declaration is here
   98 |         int i;
      |             ^
libswscale/x86/swscale.c:124:38: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  124 |             int neg = -firstChrSrcY, i, end = FFMIN(c->chrSrcH - firstChrSrcY, vChrFilterSize);
      |                                      ^
libswscale/x86/swscale.c:98:13: note: shadowed declaration is here
   98 |         int i;
      |             ^
--
libavutil/aes.c: In function ‘aes_crypt’:
libavutil/aes.c:124:62: warning: declaration of ‘sbox’ shadows a global declaration [-Wshadow]
  124 | static inline void aes_crypt(AVAES *a, int s, const uint8_t *sbox,
      |                                               ~~~~~~~~~~~~~~~^~~~
libavutil/aes.c:44:20: note: shadowed declaration is here
   44 | static uint8_t     sbox[256];
      |                    ^~~~
libavutil/aes.c: In function ‘init_multbl2’:
libavutil/aes.c:177:41: warning: declaration of ‘sbox’ shadows a global declaration [-Wshadow]
  177 |                          const uint8_t *sbox)
      |                          ~~~~~~~~~~~~~~~^~~~
libavutil/aes.c:44:20: note: shadowed declaration is here
   44 | static uint8_t     sbox[256];
      |                    ^~~~
--
libavutil/channel_layout.c: In function ‘parse_channel_list’:
libavutil/channel_layout.c:269:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  269 |         int ret = av_opt_get_key_value(&str, "@", "+", AV_OPT_FLAG_IMPLICIT_KEY, &channel, &chname);
      |             ^~~
libavutil/channel_layout.c:262:9: note: shadowed declaration is here
  262 |     int ret;
      |         ^~~
libavutil/channel_layout.c: In function ‘av_channel_layout_from_string’:
libavutil/channel_layout.c:343:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  343 |             int ret = av_channel_layout_from_string(&extra, endptr + 1);
      |                 ^~~
libavutil/channel_layout.c:310:21: note: shadowed declaration is here
  310 |     int i, matches, ret;
      |                     ^~~
--
libavutil/channel_layout.c: In function ‘av_channel_layout_retype’:
libavutil/channel_layout.c:951:17: warning: declaration of ‘order’ shadows a parameter [-Wshadow]
  951 |             int order = av_channel_layout_ambisonic_order(channel_layout);
      |                 ^~~~~
libavutil/channel_layout.c:880:83: note: shadowed declaration is here
  880 | int av_channel_layout_retype(AVChannelLayout *channel_layout, enum AVChannelOrder order, int flags)
      |                                                               ~~~~~~~~~~~~~~~~~~~~^~~~~
--
libavutil/hwcontext_vaapi.c: In function ‘vaapi_device_create’:
libavutil/hwcontext_vaapi.c:1809:34: warning: declaration of ‘device’ shadows a parameter [-Wshadow]
 1809 |                     drmDevicePtr device;
      |                                  ^~~~~~
libavutil/hwcontext_vaapi.c:1694:68: note: shadowed declaration is here
 1694 | static int vaapi_device_create(AVHWDeviceContext *ctx, const char *device,
      |                                                        ~~~~~~~~~~~~^~~~~~
--
libavutil/integer.c: In function ‘av_cmp_i’:
libavutil/integer.c:93:13: warning: declaration of ‘v’ shadows a previous local [-Wshadow]
   93 |         int v= a.v[i] - b.v[i];
      |             ^
libavutil/integer.c:89:9: note: shadowed declaration is here
   89 |     int v= (int16_t)a.v[AV_INTEGER_SIZE-1] - (int16_t)b.v[AV_INTEGER_SIZE-1];
      |         ^
--
libavutil/parseutils.c: In function ‘av_parse_color’:
libavutil/parseutils.c:385:15: warning: declaration of ‘tail’ shadows a previous local [-Wshadow]
  385 |         char *tail;
      |               ^~~~
libavutil/parseutils.c:359:11: note: shadowed declaration is here
  359 |     char *tail, color_string2[128];
      |           ^~~~
--
libavutil/pixdesc.c: In function ‘av_read_image_line2’:
libavutil/pixdesc.c:66:17: warning: declaration of ‘shift’ shadows a previous local [-Wshadow]
   66 |             int shift = 8 - depth - (skip & 7);
      |                 ^~~~~
libavutil/pixdesc.c:42:9: note: shadowed declaration is here
   42 |     int shift = comp.shift;
      |         ^~~~~
--
libavutil/slicethread.c: In function ‘avpriv_slicethread_create’:
libavutil/slicethread.c:155:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  155 |         int ret;
      |             ^~~
libavutil/slicethread.c:105:9: note: shadowed declaration is here
  105 |     int ret;
      |         ^~~
--
libavutil/tx.c: In function ‘ff_tx_init_subtx’:
libavutil/tx.c:866:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  866 |                 for (int i = 0; i < len; i++)
      |                          ^
libavutil/tx.c:838:14: note: shadowed declaration is here
  838 |     for (int i = 0; i < nb_cd_matches; i++) {
      |              ^
libavutil/tx.c:877:26: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  877 |                 for (int i = 0; i < len; i++)
      |                          ^
libavutil/tx.c:838:14: note: shadowed declaration is here
  838 |     for (int i = 0; i < nb_cd_matches; i++) {
      |              ^
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2r_double_c’:
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2r_float_c’:
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2r_mod2_double_c’:
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2i_double_c’:
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2r_int32_c’:
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2i_mod2_double_c’:
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1835:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1835 | DECL_RDFT_HALF(r2r,      AV_TX_REAL_TO_REAL,      0)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2r_mod2_int32_c’:
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
CC	libavutil/video_enc_params.o
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c: In function ‘ff_tx_dctII_double_c’:
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1901:18: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
 1901 |         TXSample s    = exp[len + i];
      |                  ^
libavutil/tx_template.c:1750:15: note: shadowed declaration is here
 1750 |     TXComplex sf, sl;                                                          \
      |               ^~
--
      |                                  ~~~~~~~~~~~~~^
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1836:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1836 | DECL_RDFT_HALF(r2r_mod2, AV_TX_REAL_TO_REAL,      1)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_dctII_float_c’:
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1901:18: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
 1901 |         TXSample s    = exp[len + i];
      |                  ^
libavutil/tx_template.c:1883:47: note: shadowed declaration is here
 1883 | static void TX_NAME(ff_tx_dctII)(AVTXContext *s, void *_dst,
      |                                  ~~~~~~~~~~~~~^
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
--
CC	libavutil/video_hint.o
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1837:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1837 | DECL_RDFT_HALF(r2i,      AV_TX_REAL_TO_IMAGINARY, 0)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_rdft_r2i_mod2_int32_c’:
libavutil/tx_template.c:1785:18: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 1785 |         TXSample tmp[4];                                                       \
      |                  ^~~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1786:19: warning: declaration of ‘sf’ shadows a previous local [-Wshadow]
 1786 |         TXComplex sf = data[i];                                                \
      |                   ^~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
--
      | ^~~~~~~~~~~~~~
libavutil/tx_template.c:1787:19: warning: declaration of ‘sl’ shadows a previous local [-Wshadow]
 1787 |         TXComplex sl = data[len2 - i];                                         \
      |                   ^~
libavutil/tx_template.c:1838:1: note: in expansion of macro ‘DECL_RDFT_HALF’
 1838 | DECL_RDFT_HALF(r2i_mod2, AV_TX_REAL_TO_IMAGINARY, 1)
      | ^~~~~~~~~~~~~~
--
libavutil/tx_template.c: In function ‘ff_tx_dctII_int32_c’:
libavutil/tx_template.c:1901:18: warning: declaration of ‘s’ shadows a parameter [-Wshadow]
 1901 |         TXSample s    = exp[len + i];
      |                  ^
libavutil/tx_template.c:1883:47: note: shadowed declaration is here
 1883 | static void TX_NAME(ff_tx_dctII)(AVTXContext *s, void *_dst,
      |                                  ~~~~~~~~~~~~~^
--
fftools/ffmpeg_demux.c: In function ‘ifile_open’:
fftools/ffmpeg_demux.c:1873:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1873 |     for (int i = 0; i < ic->nb_streams; i++) {
      |              ^
fftools/ffmpeg_demux.c:1600:14: note: shadowed declaration is here
 1600 |     int err, i, ret = 0;
      |              ^
fftools/ffmpeg_hw.c: In function ‘hw_device_init_from_string’:
fftools/ffmpeg_hw.c:103:19: warning: declaration of ‘options’ shadows a global declaration [-Wshadow]
  103 |     AVDictionary *options = NULL;
      |                   ^~~~~~~
In file included from fftools/ffmpeg_hw.c:23:
fftools/ffmpeg.h:708:24: note: shadowed declaration is here
  708 | extern const OptionDef options[];
--
fftools/ffmpeg_filter.c: In function ‘ofilter_bind_ost’:
fftools/ffmpeg_filter.c:887:17: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  887 |             int ret = set_channel_layout(ofp, opts->enc ? opts->enc->ch_layouts : NULL,
      |                 ^~~
fftools/ffmpeg_filter.c:807:9: note: shadowed declaration is here
  807 |     int ret;
      |         ^~~
fftools/ffmpeg_filter.c: In function ‘fg_complex_bind_input’:
fftools/ffmpeg_filter.c:1279:18: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1279 |         for (int i = 0; i < nb_filtergraphs; i++) {
      |                  ^
fftools/ffmpeg_filter.c:1254:9: note: shadowed declaration is here
 1254 |     int i, ret;
      |         ^
fftools/ffmpeg_filter.c: In function ‘configure_filtergraph’:
fftools/ffmpeg_filter.c:1933:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1933 |     for (int i = 0; i < fg->nb_outputs; i++) {
      |              ^
fftools/ffmpeg_filter.c:1860:14: note: shadowed declaration is here
 1860 |     int ret, i, simple = filtergraph_is_simple(fg);
      |              ^
fftools/ffmpeg_filter.c:1962:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1962 |     for (int i = 0; i < fg->nb_inputs; i++) {
      |              ^
fftools/ffmpeg_filter.c:1860:14: note: shadowed declaration is here
 1860 |     int ret, i, simple = filtergraph_is_simple(fg);
      |              ^
fftools/ffmpeg_filter.c:1978:14: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
 1978 |     for (int i = 0; i < fg->nb_inputs; i++) {
      |              ^
fftools/ffmpeg_filter.c:1860:14: note: shadowed declaration is here
 1860 |     int ret, i, simple = filtergraph_is_simple(fg);
      |              ^
--
fftools/ffmpeg_opt.c: In function ‘uninit_options’:
fftools/ffmpeg_opt.c:102:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  102 |             for (int i = 0; i < so->nb_opt; i++) {
      |                      ^
fftools/ffmpeg_opt.c:90:9: note: shadowed declaration is here
   90 |     int i;
      |         ^
fftools/ffmpeg_mux_init.c: In function ‘new_stream_video’:
fftools/ffmpeg_mux_init.c:664:23: warning: declaration of ‘p’ shadows a previous local [-Wshadow]
  664 |             uint16_t *p = av_mallocz(sizeof(*video_enc->chroma_intra_matrix) * 64);
      |                       ^
fftools/ffmpeg_mux_init.c:624:21: note: shadowed declaration is here
  624 |         const char *p = NULL, *fps_mode = NULL;
      |                     ^
fftools/ffmpeg_mux_init.c:731:22: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
  731 |             for (int i = 0; i <= ost->file->index; i++)
      |                      ^
fftools/ffmpeg_mux_init.c:630:13: note: shadowed declaration is here
  630 |         int i;
      |             ^
fftools/ffmpeg_mux_init.c: In function ‘streamcopy_init’:
fftools/ffmpeg_mux_init.c:918:26: warning: declaration of ‘codec_opts’ shadows a global declaration [-Wshadow]
  918 |     AVDictionary        *codec_opts = NULL;
      |                          ^~~~~~~~~~
In file included from fftools/ffmpeg_mux_init.c:23:
fftools/cmdutils.h:49:36: note: shadowed declaration is here
   49 | extern AVDictionary *format_opts, *codec_opts;
--
fftools/ffmpeg_mux_init.c: In function ‘ost_add’:
fftools/ffmpeg_mux_init.c:1150:25: warning: declaration of ‘enc’ shadows a previous local [-Wshadow]
 1150 |         AVCodecContext *enc = ost->enc_ctx;
      |                         ^~~
fftools/ffmpeg_mux_init.c:1033:20: note: shadowed declaration is here
 1033 |     const AVCodec *enc;
      |                    ^~~
--
fftools/ffmpeg_sched.c: In function ‘send_to_enc_sq’:
fftools/ffmpeg_sched.c:1705:17: warning: declaration of ‘enc’ shadows a parameter [-Wshadow]
 1705 |         SchEnc *enc;
      |                 ^~~
fftools/ffmpeg_sched.c:1668:51: note: shadowed declaration is here
 1668 | static int send_to_enc_sq(Scheduler *sch, SchEnc *enc, AVFrame *frame)
      |                                           ~~~~~~~~^~~
--
fftools/cmdutils.c: In function ‘split_commandline’:
fftools/cmdutils.c:805:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
  805 |         int ret, group_idx;
      |             ^~~
fftools/cmdutils.c:789:9: note: shadowed declaration is here
  789 |     int ret;
      |         ^~~
fftools/cmdutils.c: In function ‘setup_find_stream_info_opts’:
fftools/cmdutils.c:1369:47: warning: declaration of ‘codec_opts’ shadows a global declaration [-Wshadow]
 1369 |                                 AVDictionary *codec_opts,
      |                                 ~~~~~~~~~~~~~~^~~~~~~~~~
fftools/cmdutils.c:58:29: note: shadowed declaration is here
   58 | AVDictionary *format_opts, *codec_opts;
      |                             ^~~~~~~~~~
--
fftools/opt_common.c: In function ‘show_help_bsf’:
fftools/cmdutils.h:537:17: warning: declaration of ‘name’ shadows a parameter [-Wshadow]
  537 |     const char *name = avcodec_descriptor_get(id)->name;
      |                 ^~~~
fftools/opt_common.c:271:13: note: in expansion of macro ‘GET_CODEC_NAME’
  271 |             get_name(*p);                                                    \
      |             ^~~~~~~~
--
fftools/opt_common.c: In function ‘init_report’:
fftools/opt_common.c:1208:13: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 1208 |         int ret = AVERROR(errno);
      |             ^~~
fftools/opt_common.c:1149:9: note: shadowed declaration is here
 1149 |     int ret, count = 0;
      |         ^~~
--
fftools/ffprobe.c: In function ‘writer_open’:
fftools/ffprobe.c:685:46: warning: declaration of ‘sections’ shadows a global declaration [-Wshadow]
  685 |                        const struct section *sections, int nb_sections, const char *output)
      |                        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
fftools/ffprobe.c:283:23: note: shadowed declaration is here
  283 | static struct section sections[] = {
      |                       ^~~~~~~~
--
fftools/ffplay.c: In function ‘vp_duration’:
fftools/ffplay.c:1568:16: warning: declaration of ‘duration’ shadows a global declaration [-Wshadow]
 1568 |         double duration = nextvp->pts - vp->pts;
      |                ^~~~~~~~
fftools/ffplay.c:327:16: note: shadowed declaration is here
  327 | static int64_t duration = AV_NOPTS_VALUE;
      |                ^~~~~~~~
fftools/ffplay.c: In function ‘video_refresh’:
fftools/ffplay.c:1610:35: warning: declaration of ‘duration’ shadows a global declaration [-Wshadow]
 1610 |             double last_duration, duration, delay;
      |                                   ^~~~~~~~
fftools/ffplay.c:327:16: note: shadowed declaration is here
  327 | static int64_t duration = AV_NOPTS_VALUE;
      |                ^~~~~~~~
--
fftools/ffplay.c: In function ‘queue_picture’:
fftools/ffplay.c:1753:81: warning: declaration of ‘duration’ shadows a global declaration [-Wshadow]
 1753 | static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial)
      |                                                                          ~~~~~~~^~~~~~~~
fftools/ffplay.c:327:16: note: shadowed declaration is here
  327 | static int64_t duration = AV_NOPTS_VALUE;
      |                ^~~~~~~~
fftools/ffplay.c: In function ‘configure_audio_filters’:
fftools/ffplay.c:1995:64: warning: declaration of ‘afilters’ shadows a global declaration [-Wshadow]
 1995 | static int configure_audio_filters(VideoState *is, const char *afilters, int force_output_format)
      |                                                    ~~~~~~~~~~~~^~~~~~~~
fftools/ffplay.c:347:14: note: shadowed declaration is here
  347 | static char *afilters = NULL;
      |              ^~~~~~~~
fftools/ffplay.c: In function ‘video_thread’:
fftools/ffplay.c:2165:12: warning: declaration of ‘duration’ shadows a global declaration [-Wshadow]
 2165 |     double duration;
      |            ^~~~~~~~
fftools/ffplay.c:327:16: note: shadowed declaration is here
  327 | static int64_t duration = AV_NOPTS_VALUE;
      |                ^~~~~~~~
--
fftools/ffplay.c: In function ‘main’:
fftools/ffplay.c:3804:13: warning: declaration of ‘flags’ shadows a previous local [-Wshadow]
 3804 |         int flags = SDL_WINDOW_HIDDEN;
      |             ^~~~~
HTML	doc/ffmpeg-bitstream-filters.html
fftools/ffplay.c:3749:9: note: shadowed declaration is here
 3749 |     int flags, ret;
      |         ^~~~~
fftools/ffplay.c:3845:21: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
 3845 |                 int ret = av_dict_parse_string(&dict, vulkan_params, "=", ":", 0);
      |                     ^~~
fftools/ffplay.c:3749:16: note: shadowed declaration is here
 3749 |     int flags, ret;
      |                ^~~


More information about the ffmpeg-devel mailing list