Commit 53205946 authored by Jan Kiene's avatar Jan Kiene
Browse files

change variable type to fix usan complaint

parent a1dce08c
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -210,6 +210,7 @@
#define FIX_622_SILENCE_USAN_WARNING                    /* FhG: silenceusan warning in ifft code */

#define FIX_615_UBSAN_SPAR_TO_DIRAC                     /*Dlb : Fix for UBSAN issue 615*/
#define FIX_626_VARIABLE_TYPE_MDCT_CONC                 /* FhG: trivial fix to fix USAN error */
/* ################## End BE DEVELOPMENT switches ######################### */


+4 −0
Original line number Diff line number Diff line
@@ -126,7 +126,11 @@ void TonalMDCTConceal_SaveFreqSignal(
    const int16_t infoIGFStartLine )
{
    float *temp;
#ifdef FIX_626_VARIABLE_TYPE_MDCT_CONC
    uint16_t nOldSamples;
#else
    int16_t nOldSamples;
#endif

    assert( nNewSamples > 0 && nNewSamples <= 2 * L_FRAME_MAX );