Commit cc820764 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_1477_OOB_INDEX_IN_D_ACELP_INDEXING

parent 3de97bf1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -165,7 +165,6 @@
#define FIX_1486_INIT_OUTPUT_POINTERS                   /* FhG: always initialize pointers in renderer flush */
#define FIX_1449_RENDERER_FRAME_SIZE_UNCLEAR_IN_ISAR    /* Dolby: Fix for issue 1449: renderer frame size unclear in ISAR */
#define FIX_1827_REMOVE_UNUSED_PSNOISEGEN_ISAR          /* Dolby: remove unused noise generator from ISAR */
#define FIX_1477_OOB_INDEX_IN_D_ACELP_INDEXING          /* FhG: fix oob indexing */
#define FIX_1494_SET_SPLITBFI_UNUSED                    /* Dolby: Fix issue 1494, remove unused function setting BFI flag in ISAR renderer */
#define FIX_1479_MSAN_SPAR_UNINITIALIZED_VALUE          /* Dolby: Fix for issue 1479, MSAN error due to uninitialized value in SPAR */
#define REMOVE_UNUSED_CODE_IVAS_DEC                     /* VA: remove unused code in ivas_jbm_dec_tc_fx() */
+0 −11
Original line number Diff line number Diff line
@@ -171,18 +171,8 @@ void D_ACELP_indexing(
        }
        s = index_n[0];
        pulses = pulsestrack[0];
#ifndef FIX_1477_OOB_INDEX_IN_D_ACELP_INDEXING
        /* safety check in case of bit errors */
        if ( s >= pulsestostates[16][pulses - 1] )
        {
            set_f( code, 0.0f, L_SUBFR );
            *BER_detect = 1;
            return;
        }
#endif
        if ( pulses )
        {
#ifdef FIX_1477_OOB_INDEX_IN_D_ACELP_INDEXING
            /* safety check in case of bit errors */
            if ( s >= pulsestostates[16][pulses - 1] )
            {
@@ -190,7 +180,6 @@ void D_ACELP_indexing(
                *BER_detect = 1;
                return;
            }
#endif
            D_ACELP_decode_arithtrack( code, s, pulses, num_tracks, 16 );
        }
        else