Commit 1d6ebb47 authored by vaclav's avatar vaclav
Browse files

fix warnings

parent a690c56a
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -731,7 +731,11 @@ ivas_error ivas_init_decoder(
    Decoder_Struct *st_ivas /* i/o: IVAS decoder structure        */
)
{
#ifdef MASA_AND_OBJECTS
    int16_t i, n, k;
#else
    int16_t i, n;
#endif
    int16_t sce_id, cpe_id;
    int16_t numCldfbAnalyses, numCldfbSyntheses;
    int16_t granularity, n_channels_transport_jbm;
@@ -743,6 +747,7 @@ ivas_error ivas_init_decoder(
#ifdef MASA_AND_OBJECTS
    int32_t ism_total_brate;
#endif

    error = IVAS_ERR_OK;

    output_Fs = st_ivas->hDecoderConfig->output_Fs;
@@ -1061,7 +1066,7 @@ ivas_error ivas_init_decoder(
            return error;
        }

        int16_t k = 0;
        k = 0;
        ism_total_brate = 0;
        while ( k < SIZE_IVAS_BRATE_TBL && ivas_total_brate != ivas_brate_tbl[k] )
        {
+1 −9
Original line number Diff line number Diff line
@@ -5117,7 +5117,6 @@ static ivas_error renderIsmToBinauralRoom(
}

#ifdef FIX_196_REFACTOR_RENDERER_OUTPUT_CONFIG

static ivas_error renderIsmToBinauralReverb(
    input_ism *ismInput,
    IVAS_REND_AudioBuffer outAudio )
@@ -5452,13 +5451,6 @@ static ivas_error renderMcToBinaural(
#else
    int8_t headRotEnabled;
#endif
    float *p_tmpRendBuffer[MAX_OUTPUT_CHANNELS];
    int16_t i;

    for ( i = 0; i < MAX_OUTPUT_CHANNELS; i++ )
    {
        p_tmpRendBuffer[i] = tmpRendBuffer[i];
    }

    push_wmops( "renderMcToBinaural" );

@@ -5537,7 +5529,7 @@ static ivas_error renderMcToBinaural(

        /* call CREND */
        if ( ( error = ivas_rend_crendProcess( mcInput->crendWrapper, getIvasAudioConfigFromRendAudioConfig( mcInput->base.inConfig ), getIvasAudioConfigFromRendAudioConfig( outConfig ),
                                               NULL, NULL, NULL, NULL, p_tmpRendBuffer, *mcInput->base.ctx.pOutSampleRate ) ) != IVAS_ERR_OK )
                                               NULL, NULL, NULL, NULL, NULL /* ToDo: TBV */, *mcInput->base.ctx.pOutSampleRate ) ) != IVAS_ERR_OK )
        {
            return error;
        }
+22 −22

File changed.

Contains only whitespace changes.

+94 −94

File changed.

Contains only whitespace changes.