Commit e9b09282 authored by vaclav's avatar vaclav
Browse files

fix parameters declarations as reported by Ericsson

parent 7f797b83
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -109,7 +109,8 @@ ivas_error ivas_ism_dtx_dec(
#ifdef DISCRETE_ISM_DTX_CNG
    int16_t md_diff_flag[MAX_NUM_OBJECTS];
    int16_t flag_noisy_speech, sce_id_dtx;
    ISM_MODE last_ism_mode;
    ISM_MODE last_ism_mode, ism_mode_bstr;
    int16_t idx;
#endif

    ivas_total_brate = st_ivas->hDecoderConfig->ivas_total_brate;
@@ -161,9 +162,8 @@ ivas_error ivas_ism_dtx_dec(
        {
            pos -= num_obj; /* SID metadata flags */

            short idx = get_indice( st_ivas->hSCE[0]->hCoreCoder[0], pos, 1 );

            ISM_MODE ism_mode_bstr = (ISM_MODE) ( idx + 1 );
            idx = get_indice( st_ivas->hSCE[0]->hCoreCoder[0], pos, 1 );
            ism_mode_bstr = (ISM_MODE) ( idx + 1 );
            st_ivas->ism_mode = ism_mode_bstr;
        }