Commit 4da28a99 authored by vaclav's avatar vaclav
Browse files

skip ivas_jbm_dec_flush_renderer() in non-JBM cases; under NONBE_UNIFIED_DECODING_PATHS_FIX

parent 941bd31f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1667,6 +1667,13 @@ ivas_error ivas_jbm_dec_flush_renderer(
    float output[MAX_CICP_CHANNELS][L_FRAME48k / MAX_PARAM_SPATIAL_SUBFRAMES];
    float *p_output[MAX_CICP_CHANNELS];

#ifdef NONBE_UNIFIED_DECODING_PATHS_FIX
    if ( !st_ivas->hDecoderConfig->Opt_tsm )
    {
        return IVAS_ERR_OK;
    }
#endif

    *nSamplesRendered = 0;
    hTcBuffer = st_ivas->hTcBuffer;