Commit f619157d authored by vaclav's avatar vaclav
Browse files

fix

parent bde2b02d
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -1245,7 +1245,7 @@ ivas_error ivas_init_decoder(
     * Initialize binuaral split rendering
     * Initialize binuaral split rendering
     *-----------------------------------------------------------------*/
     *-----------------------------------------------------------------*/


    if ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM ||
    if ( st_ivas->hSplitBinRend != NULL && st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_CODED || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_BINAURAL_SPLIT_PCM ||
         ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_STEREO && st_ivas->hDecoderConfig->Opt_non_diegetic_pan && st_ivas->hRenderConfig->split_rend_config.dof == 0 ) )
         ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_STEREO && st_ivas->hDecoderConfig->Opt_non_diegetic_pan && st_ivas->hRenderConfig->split_rend_config.dof == 0 ) )
    {
    {
        if ( ( error = ivas_dec_init_split_rend( st_ivas ) ) != IVAS_ERR_OK )
        if ( ( error = ivas_dec_init_split_rend( st_ivas ) ) != IVAS_ERR_OK )
@@ -1253,10 +1253,6 @@ ivas_error ivas_init_decoder(
            return error;
            return error;
        }
        }
    }
    }
    else
    {
        st_ivas->hSplitBinRend->splitrend.multiBinPoseData.num_poses = 1;
    }
#endif
#endif


    /*-----------------------------------------------------------------*
    /*-----------------------------------------------------------------*