Commit 24e406c5 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_632_USAN_ERROR_NULL_POINTER

parent 6b2ad37b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -162,7 +162,6 @@

#define FIX_708_DPID_COMMAND_LINE                       /* issue 708: sanity checks for '-dpid' command-line */
#define FIX_730_DPID_NOT_SET_CORRECTLY                  /* Eri: issue 730: write dpid read from file in correct index, print informative error message when DPID specified is not found. */
#define FIX_632_USAN_ERROR_NULL_POINTER                 /* FhG: issue 632 USAN offset to null pointer proto_diffuse_buffer_f in dirac rendering*/
#define FIX_759_CODE_COVERAGE_OSBA                      /* VA: issue 759: remove obsolete code in the OSBA encoder */
#define FIX_708_AEID_COMMAND_LINE                       /* VA: issue 708: improve AEID command-line robustness */
#define FIX_513_REND_MC_ALLOC                           /* FhG: issue 513, optimise external renderer allocation for multichannel */
+0 −2
Original line number Diff line number Diff line
@@ -1519,9 +1519,7 @@ void ivas_dirac_dec_output_synthesis_process_subframe_psd_ls(
        }

        /*Diffuse stream*/
#ifdef FIX_632_USAN_ERROR_NULL_POINTER
        if ( h_dirac_output_synthesis_params->max_band_decorr != 0 )
#endif
        {
            p_power_smooth_diff = h_dirac_output_synthesis_state->proto_diffuse_buffer_f + buf_idx * 2 * h_dirac_output_synthesis_params->max_band_decorr * nchan_out_woLFE;
        }
+0 −2
Original line number Diff line number Diff line
@@ -1692,12 +1692,10 @@ void ivas_dirac_dec_compute_diffuse_proto(
    h_dirac_output_synthesis_state = &( hDirACRend->h_output_synthesis_psd_state );

    num_freq_bands_diff = h_dirac_output_synthesis_params->max_band_decorr;
#ifdef FIX_632_USAN_ERROR_NULL_POINTER
    if ( num_freq_bands_diff == 0 )
    {
        return;
    }
#endif

    p_diff_buffer = h_dirac_output_synthesis_state->proto_diffuse_buffer_f + slot_idx * 2 * num_freq_bands_diff * hDirACRend->hOutSetup.nchan_out_woLFE;
    p_diff_buffer_1 = p_diff_buffer + 1;