Commit 07244161 authored by vaclav's avatar vaclav
Browse files

correct the assert condition

parent 754c77bc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -358,7 +358,7 @@ ivas_error stereo_memory_dec(
    error = IVAS_ERR_OK;

#ifdef FIX_265_MC_BRATE_SWITCHING
    assert( hCPE->last_element_mode > IVAS_CPE_DFT && "Switching from SCE to CPE is not a valid configuration!" );
    assert( hCPE->last_element_mode >= IVAS_CPE_DFT && "Switching from SCE to CPE is not a valid configuration!" );
#endif


+1 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ ivas_error stereo_memory_enc(
    error = IVAS_ERR_OK;

#ifdef FIX_265_MC_BRATE_SWITCHING
    assert( hCPE->last_element_mode > IVAS_CPE_DFT && "Switching from SCE to CPE is not a valid configuration!" );
    assert( hCPE->last_element_mode >= IVAS_CPE_DFT && "Switching from SCE to CPE is not a valid configuration!" );
#endif

    /*--------------------------------------------------------------*