Loading lib_dec/ivas_ism_dec.c +8 −6 Original line number Diff line number Diff line Loading @@ -105,10 +105,13 @@ static ivas_error ivas_ism_bitrate_switching( efap_free_data( &st_ivas->hEFAPdata ); } /*-----------------------------------------------------------------* * Switching between ParamISM and DiscISM *-----------------------------------------------------------------*/ /* switching from ParamISM to DiscISM */ if ( st_ivas->ism_mode == ISM_MODE_DISC && last_ism_mode == ISM_MODE_PARAM ) { /* switching from ParamISM to DiscISM */ /* Deallocate the ParamISM struct */ if ( st_ivas->hDirAC != NULL ) { Loading Loading @@ -167,10 +170,9 @@ static ivas_error ivas_ism_bitrate_switching( } } /* switching from Discrete ISM to ParamISM */ if ( st_ivas->ism_mode == ISM_MODE_PARAM && last_ism_mode == ISM_MODE_DISC ) { /* switching from Discrete ISM to ParamISM */ /* Allocate and initialize the ParamISM struct */ if ( ( error = ivas_param_ism_dec_open( st_ivas ) ) != IVAS_ERR_OK ) { Loading Loading
lib_dec/ivas_ism_dec.c +8 −6 Original line number Diff line number Diff line Loading @@ -105,10 +105,13 @@ static ivas_error ivas_ism_bitrate_switching( efap_free_data( &st_ivas->hEFAPdata ); } /*-----------------------------------------------------------------* * Switching between ParamISM and DiscISM *-----------------------------------------------------------------*/ /* switching from ParamISM to DiscISM */ if ( st_ivas->ism_mode == ISM_MODE_DISC && last_ism_mode == ISM_MODE_PARAM ) { /* switching from ParamISM to DiscISM */ /* Deallocate the ParamISM struct */ if ( st_ivas->hDirAC != NULL ) { Loading Loading @@ -167,10 +170,9 @@ static ivas_error ivas_ism_bitrate_switching( } } /* switching from Discrete ISM to ParamISM */ if ( st_ivas->ism_mode == ISM_MODE_PARAM && last_ism_mode == ISM_MODE_DISC ) { /* switching from Discrete ISM to ParamISM */ /* Allocate and initialize the ParamISM struct */ if ( ( error = ivas_param_ism_dec_open( st_ivas ) ) != IVAS_ERR_OK ) { Loading