Commit bd1a6bc9 authored by multrus's avatar multrus
Browse files

refacturing

parent 97422aed
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1077,6 +1077,10 @@ ivas_error ivas_jbm_dec_flush_renderer_fx(
                }
                ELSE IF( EQ_16( renderer_type_old, RENDERER_BINAURAL_MIXER_CONV_ROOM ) )
                {
#ifdef FIX_2505_IVAS_DEC_SEGFAULT
                    Word16 subframe_len, guard_bits, q_shift_min;

#endif
                    /* Convert to CICPxx; used also for ISM->CICP19->binaural_room rendering */
                    set16_fx( st_ivas->hIsmRendererData->interpolator_fx, 32767, n_samples_granularity ); // 32767=1.0f in Q15

@@ -1084,7 +1088,6 @@ ivas_error ivas_jbm_dec_flush_renderer_fx(

                    st_ivas->hCrendWrapper->p_io_qfactor = &st_ivas->hCrendWrapper->io_qfactor;
#ifdef FIX_2505_IVAS_DEC_SEGFAULT
                    Word16 subframe_len, guard_bits, q_shift_min;

                    IF( NE_32( ( error = getAudioConfigNumChannels( IVAS_AUDIO_CONFIG_7_1_4, &nchan_in ) ), IVAS_ERR_OK ) )
                    {