Commit 309d0b29 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix data type

parent 77b810b4
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -564,9 +564,9 @@ ivas_error pre_proc_front_ivas(
    if ( st->hFdCngEnc != NULL && ( st->ini_frame == 0 || last_element_brate != element_brate || st->last_bwidth != st->bwidth ) )
    {
#ifdef FIX_443_FD_CNG_INIT
        int16_t total_brate;
        int32_t total_brate;

        total_brate = ( element_mode == IVAS_SCE ) ? st->total_brate : (int16_t) ( st->bits_frame_nominal * FRAMES_PER_SEC );
        total_brate = ( element_mode == IVAS_SCE ) ? st->total_brate : st->bits_frame_nominal * FRAMES_PER_SEC;
        configureFdCngEnc( st->hFdCngEnc, max( st->input_bwidth, WB ), total_brate );
#else
        configureFdCngEnc( st->hFdCngEnc, max( st->input_bwidth, WB ), st->bits_frame_nominal * FRAMES_PER_SEC );