Commit a8424b8a authored by vaclav's avatar vaclav
Browse files

add missing compilation switch

parent 03d07e29
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -673,7 +673,11 @@ ivas_error ivas_dec_fx(

            ivas_masa_prerender_fx( st_ivas, p_output_fx, &q_shift, output_frame, nchan_remapped );

#ifdef REMOVE_UNUSED_CODE_IVAS_DEC
            FOR( i = 0; i < CPE_CHANNELS; i++ )
#else
            FOR( i = 0; i < 2; i++ )
#endif
            {
                Scale_sig32( p_output_fx[i], output_frame, negate( q_shift ) );
            }
@@ -804,13 +808,21 @@ ivas_error ivas_dec_fx(
            hp20_fx_32_opt( p_output_fx[n], output_frame, st_ivas->mem_hp20_out_fx[n], output_Fs );
        }

#ifdef REMOVE_UNUSED_CODE_IVAS_DEC
        Word16 output_q = Q11;
#else
        Word16 output_q = 11;
#endif
        move16();
        IF( EQ_32( st_ivas->renderer_type, RENDERER_MONO_DOWNMIX ) )
        {
            ivas_ism_mono_dmx_fx( st_ivas, p_output_fx, output_frame );

#ifdef REMOVE_UNUSED_CODE_IVAS_DEC
            output_q = Q8;
#else
            output_q = 8;
#endif
            move16();
        }
        ELSE IF( EQ_32( output_config, IVAS_AUDIO_CONFIG_EXTERNAL ) )