Commit 67e7fa30 authored by multrus's avatar multrus
Browse files

[cleanup] accept NONBE_FIX_1174_MCMASA_LBR_LOOP_ERROR

parent 103a3ae8
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -179,7 +179,6 @@



#define NONBE_FIX_1174_MCMASA_LBR_LOOP_ERROR            /* Nokia: Fix issue 1174 by removing the unnecessary inner loop causing problems. */
#define NONBE_FIX_1176_OSBA_REVERB_JBM_ASAN_ERROR       /* Ericsson: Issue 1176, fix in TDREND_firfilt for subframes shorter than the filter length */
#define NONBE_FIX_1197_OMASA_META_BUFFER                /* Nokia: OMASA ISM_MASA_MODE_PARAM_ONE_OBJ history zero in rateswitching */

+0 −7
Original line number Diff line number Diff line
@@ -1765,14 +1765,7 @@ static void reduce_metadata_further(
                /* Copy spread coherence to the rest of subframes for the coherence coding algorithm. */
                for ( sf = 1; sf < MAX_PARAM_SPATIAL_SUBFRAMES; sf++ )
                {
#ifdef NONBE_FIX_1174_MCMASA_LBR_LOOP_ERROR
                    hqmetadata->q_direction[0].coherence_band_data[band].spread_coherence[sf] = hqmetadata->q_direction[0].coherence_band_data[band].spread_coherence[0];
#else
                    for ( band = 0; band < numCodingBands; band++ )
                    {
                        hqmetadata->q_direction[0].coherence_band_data[band].spread_coherence[sf] = hqmetadata->q_direction[0].coherence_band_data[band].spread_coherence[0];
                    }
#endif
                }

                /* Surround coherence is already merged through time */