Skip to content

Crash when using force HQ in ISM-1

Basic info

  • Encoder (float): 311956f3 (same with d705aad41)
  • Encoder (fixed): 45f78445
  • Decoder (float in both cases): 311956f3 (same with d705aad41)

Bug description

When using -force HQ, the encoder sometimes crashes because of a uninitialized variable (no problem encounter in float)

It looks like the variables st->hHQ_core->crest_lp_q and st->hHQ_core->crest_mod_lp_q are not properly initialized if the codec starts in HQ mode.

image

Ways to reproduce

G4S5

IVAS_cod_fx -force HQ -ISM 1 NULL 24400 48 G4S5.wav bit

Edited by vaillancour