Commit 652da752 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix condition for shf_rot_max_order setting under ALLOW_HOA3_ROTATION

parent 97ef3517
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -80,7 +80,8 @@ void ivas_renderer_select(
    }

#ifdef ALLOW_HOA3_ROTATION
    if ( output_config == IVAS_AUDIO_CONFIG_HOA3 )
    nchan_internal = ivas_sba_get_nchan_metadata( st_ivas->sba_analysis_order, st_ivas->hDecoderConfig->ivas_total_brate );
    if ( output_config == IVAS_AUDIO_CONFIG_HOA3 && st_ivas->hDecoderConfig->Opt_Headrotation && nchan_internal >= 2 )
    {
        st_ivas->hCombinedOrientationData->shd_rot_max_order = 0;