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

Correct assignment within conditional expression within FIX_197_CREND_INTERFACE

parent 7f3ad3bf
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1187,14 +1187,16 @@ ivas_error ivas_init_decoder(
                return error;
            }
        }

        if ( ( error = ivas_rend_openCrend( &( st_ivas->hCrendWrapper ),
                                            getRendAudioConfigFromIvasAudioConfig( st_ivas->intern_config ),
                                            getRendAudioConfigFromIvasAudioConfig( st_ivas->hDecoderConfig->output_config ),
                                            st_ivas->hRenderConfig, st_ivas->hDecoderConfig->Opt_Headrotation,
                                            st_ivas->hDecoderConfig->output_Fs ) != IVAS_ERR_OK ) )
                                            st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )
        {
            return error;
        }
        
        st_ivas->binaural_latency_ns = st_ivas->hCrendWrapper->binaural_latency_ns;
#else
        if ( ivas_crend_open( st_ivas ) != IVAS_ERR_OK )