Skip to content

Draft: basop-2294-clang-18-encoder-clang18-warnings

Reason why this change is needed

  • Some warning discovered while running stereo encoder at different bit rates
    • in IVAS_cpe_enc_fx, variables q_band_energies_LR and q_lf_E are passed to a function without being initialized
    • in ivas_core_enc_fx, voice_factors_fx is passed to a function without being initialized
    • in ext_sig_ana_fx.c, uninitialized part of mdstWin is copy to another vector
    • in AVQ_cod_lpc_fx(), I16 is passed to a function without being initialized

Description of the change

  • initialisation of variables before they are passed to sub functions and copy the right length instead of the full buffer .

Affected operating points

  • Should be BE.

Merge request reports

Loading