Commit 0c91e966 authored by fotopoulou's avatar fotopoulou
Browse files

fix clang errors introduced under OSBA_EXT_OUT

parent 08bf0447
Loading
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -119,13 +119,23 @@ ivas_error ivas_dec(
    output_frame = (int16_t) ( output_Fs / FRAMES_PER_SEC );

#ifdef OSBA_EXT_OUT
    if ( st_ivas->ivas_format == SBA_ISM_FORMAT && output_config == AUDIO_CONFIG_EXTERNAL )
    {
        for ( n = 0; n < nchan_out; n++ )
#else
    for ( n = 0; n < MAX_OUTPUT_CHANNELS; n++ )
        {
            p_output[n] = &output[n][0];
        }
    }
    else
    {
#endif
        for ( n = 0; n < MAX_OUTPUT_CHANNELS; n++ )
        {
            p_output[n] = &output[n][0];
        }
#ifdef OSBA_EXT_OUT
    }
#endif

    /*----------------------------------------------------------------*
     * Combine orientations