Snippets for lame 3.100 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/lame/3.100/21.fc44/data/logs/aarch64/build.log.
-
VbrTag.c:430:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘toc’ will never be NULL [-Waddress] 430 | if (pTagData->toc != NULL) { | ^~ -
quantize_pvt.c:430:46: warning: argument 2 of type ‘const FLOAT[][2]’ {aka ‘const float[][2]’} with mismatched bound [-Warray-parameter=] 430 | on_pe(lame_internal_flags * gfc, const FLOAT pe[][2], int targ_bits[2], int mean_bits, int gr, int cbr) | ~~~~~~~~~~~~^~~~~~~ -
quantize.c:1508:22: warning: ‘VBR_old_prepare’ accessing 64 bytes in a region of size 60 [-Wstringop-overflow=] 1508 | analog_silence = VBR_old_prepare(gfc, pe, ms_ener_ratio, ratio, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1509 | l3_xmin, frameBits, min_bits, max_bits, bands); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quantize.c:1668:22: warning: ‘VBR_new_prepare’ accessing 64 bytes in a region of size 60 [-Wstringop-overflow=] 1668 | analog_silence = VBR_new_prepare(gfc, pe, ratio, l3_xmin, frameBits, max_bits, &pad); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
vbrquantize.c:112:22: warning: ‘MAGIC_FLOAT’ defined but not used [-Wunused-const-variable=] 112 | static DOUBLEX const MAGIC_FLOAT = MAGIC_FLOAT_def; | ^~~~~~~~~~~ -
vbrquantize.c:110:22: warning: ‘ROUNDFAC’ defined but not used [-Wunused-const-variable=] 110 | static DOUBLEX const ROUNDFAC = ROUNDFAC_def; | ^~~~~~~~ -
vbrquantize.c:108:18: warning: ‘MAGIC_INT’ defined but not used [-Wunused-const-variable=] 108 | static int const MAGIC_INT = MAGIC_INT_def; | ^~~~~~~~~ -
psymodel.c:1413:25: warning: argument 8 of type ‘FLOAT[4]’ {aka ‘float[4]’} with mismatched bound [-Warray-parameter=] 1413 | FLOAT energy[4], int blocktype_d[2]) | ~~~~~~^~~~~~~~~ -
psymodel.c:1453:5: warning: ‘vbrpsy_attack_detection’ accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 1453 | vbrpsy_attack_detection(gfc, buffer, gr_out, masking_ratio, masking_MS_ratio, energy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1454 | sub_short_factor, ns_attacks, uselongblock); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
psymodel.c:1284:26: warning: ‘uselongblock’ may be used uninitialized [-Wmaybe-uninitialized] 1284 | && !(uselongblock[0] && uselongblock[1])) | ~~~~~~~~~~~~^~~ -
psymodel.c:1284:45: warning: ‘uselongblock’ may be used uninitialized [-Wmaybe-uninitialized] 1284 | && !(uselongblock[0] && uselongblock[1])) | ~~~~~~~~~~~~^~~ -
psymodel.c:1284:26: warning: ‘uselongblock’ may be used uninitialized [-Wmaybe-uninitialized] 1284 | && !(uselongblock[0] && uselongblock[1])) | ~~~~~~~~~~~~^~~ -
psymodel.c:1284:45: warning: ‘uselongblock’ may be used uninitialized [-Wmaybe-uninitialized] 1284 | && !(uselongblock[0] && uselongblock[1])) | ~~~~~~~~~~~~^~~ -
get_audio.c:186:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 186 | fread(bytes, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~ -
get_audio.c:147:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 147 | fread(bytes, 1, 2, fp); | ^~~~~~~~~~~~~~~~~~~~~~ -
get_audio.c:160:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 160 | fread(bytes, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~ -
get_audio.c:174:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 174 | fread(bytes, 1, 2, fp); | ^~~~~~~~~~~~~~~~~~~~~~ -
get_audio.c:115:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 115 | fread(bytes, 1, 10, fp); | ^~~~~~~~~~~~~~~~~~~~~~~ -
get_audio.c:1367:18: warning: ‘IFF_ID_MPEG’ defined but not used [-Wunused-const-variable=] 1367 | static int const IFF_ID_MPEG = 0x4d504547; /* "MPEG" */ | ^~~~~~~~~~~ -
parse.c:1505:17: warning: ‘str_argv’ may be used uninitialized [-Wmaybe-uninitialized] 1505 | const char *ProgramName = argv[0]; | ^~~~~~~~~~~