Commit 757a23a7 authored by emerit's avatar emerit
Browse files

remove unnecessary code update comment in ivas_tools.c

parent 7897840f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -587,7 +587,7 @@ int16_t check_bounds_s(
 *---------------------------------------------------------------------*/

void set_zero_l(
    float *vec,         /* o  : input vector            */
    float *vec,         /* i/o: input/output vector     */
    const uint32_t lvec /* i  : length of the vector    */
)
{
+2 −8
Original line number Diff line number Diff line
@@ -1341,10 +1341,7 @@ ivas_error ivas_rend_openCrend(
                    return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Crend" );
                }
#ifdef FIX_CRASH_LONG_BRIR
                if ( hCrend->freq_buffer_re_diffuse != NULL )
                {
                set_zero_l( hCrend->freq_buffer_re_diffuse, max_total_ir_len );
                }
#else
                set_zero( hCrend->freq_buffer_re_diffuse, max_total_ir_len );
#endif
@@ -1354,10 +1351,7 @@ ivas_error ivas_rend_openCrend(
                    return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Crend" );
                }
#ifdef FIX_CRASH_LONG_BRIR
                if ( hCrend->freq_buffer_im_diffuse != NULL )
                {
                set_zero_l( hCrend->freq_buffer_im_diffuse, max_total_ir_len );
                }
#else
                set_zero( hCrend->freq_buffer_im_diffuse, max_total_ir_len );
#endif