Commit a00e78e2 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Init related length variables to zero.

parent 045769d5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -856,6 +856,11 @@ ivas_error ivas_dirac_alloc_mem_fx(
    /* Prototypes */
    hDirAC_mem->proto_direct_buffer_f_fx = NULL;
    hDirAC_mem->proto_diffuse_buffer_f_fx = NULL;
#ifdef FIX_BASOP_2329_UNINIT_VALUE
    hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f_len = 0;
    hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_len = 0;
    hDirAC_mem->proto_diffuse_buffer_f_len = 0;
#endif
    test();
    test();
    IF( NE_32( renderer_type, RENDERER_BINAURAL_PARAMETRIC ) && NE_32( renderer_type, RENDERER_BINAURAL_PARAMETRIC_ROOM ) && NE_32( renderer_type, RENDERER_STEREO_PARAMETRIC ) )