Commit 825d35aa authored by multrus's avatar multrus
Browse files

remove dead code from tcx_ari_res_Q_spec()

parent d8dab356
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -164,6 +164,7 @@
#define FIX_2235_TD_RENDERER_WORD16                     /* Eri: For float: small synch with BASOP, removing unnecessary abs. BASOP: Use Word16 in TD renderer without converting to Word32 */
#define FIX_FLOAT_1526_DIRAC_MEM_LEAK                   /* FhG: potential memory leak in DirAC handles in case of format switching */
#define ALIGN_ACELP_CORE                                /* VA: align ACELP core functions with BASOP */
#define FIX_FLOAT_1535_ARI_RES_Q_CLEANUP                /* FhG: remove dead code from tcx_ari_res_Q_spec() */

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -1106,6 +1106,9 @@ int16_t tcx_ari_res_Q_spec(
    fac_p = 0.5f - fac_m;
    num_zeros = 0;

#ifdef FIX_FLOAT_1535_ARI_RES_Q_CLEANUP
    assert( x_fac != NULL );
#else
    if ( x_fac == NULL )
    {
        for ( i = 0; i < L_frame; ++i )
@@ -1166,6 +1169,7 @@ int16_t tcx_ari_res_Q_spec(

        return bits;
    }
#endif

    for ( i = 0; i < L_frame; ++i )
    {