Missing pop_wmops() in renderLfeToBinaural_fx()
The renderer function renderLfeToBinaural_fx()
contains push_wmops( "renderLfeToBinaural" )
but the corresponding pop_wmops()
is missing for the following ELSE
condition:
IF( NE_32( mcInput->base.inConfig, IVAS_AUDIO_CONFIG_LS_CUSTOM ) )
{
lfe_idx = LFE_CHANNEL;
move16();
}
ELSE IF( mcInput->customLsInput.num_lfe > 0 )
{
lfe_idx = mcInput->customLsInput.lfe_idx[0];
move16();
}
ELSE
{
/* no LFE to render */
return IVAS_ERR_OK;
}
This leads to a crash of the codec when WMOPS
is activated in options.h
.