Commit 989c5bd3 authored by bayers's avatar bayers
Browse files

fix crend

parent 2bd8ba59
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1519,7 +1519,7 @@ ivas_error ivas_rend_crendProcess(
    }

#ifdef API_5MS
    subframe_len = (int16_t) output_Fs / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES;
    subframe_len = (int16_t) ( output_Fs / ( FRAMES_PER_SEC * MAX_PARAM_SPATIAL_SUBFRAMES ) );
#else
    output_frame = (int16_t) ( output_Fs / FRAMES_PER_SEC );
    subframe_len = output_frame / MAX_PARAM_SPATIAL_SUBFRAMES;