Commit 0a27028b authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Fix BASOP issue 2514 by fixing the assignment error.

parent 496d928d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@
#define FIX_BASOP_2497_MCMASA_LFE_WRONG_SF_INDEX        /* Nokia: BASOP 2497: Fix wrong subframe index in McMASA LFE synth. */
#define FIX_BASOP_2496_OMASA_OBJ_EDIT_WRONG_ASSIGN      /* Nokia: BASOP 2496: Fix wrong assignment in OMASA object edit code */
#define FIX_2495_Q_ALIGN_OSBA_RENDERER                  /* FhG: Basop issue #2495: Corrected exponent scaling of outAudio.data_fx before buffer accumulation in renderSbaToBinaural(). */
#define FIX_BASOP_2514_EFAP_PORTING_ERROR               /* Nokia: BASOP issue 2514: Fix wrongly ported line */

/* ##################### End NON-BE switches ########################### */

+4 −0
Original line number Diff line number Diff line
@@ -1001,7 +1001,11 @@ static void add_vertex_to_convex_hull_fx(
    move32();
    centroid[1] = Mpy_32_32( centroid[1], tmp32 ); // q27
    move32();
#ifdef FIX_BASOP_2514_EFAP_PORTING_ERROR
    centroid[2] = Mpy_32_32( centroid[2], tmp32 ); // q27
#else
    centroid[2] = Mpy_32_32( centroid[1], tmp32 ); // q27
#endif
    move32();

    centroid[0] = L_shl( centroid[0], 4 ); // q31