Commit bc4714a1 authored by vaclav's avatar vaclav
Browse files

updates within SWITCHING_FORMAT_DEC

parent c6c86f9f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ ivas_error ivas_dec_setup(
     * Reinitialize the decoder in case of the IVAS format change
     *-------------------------------------------------------------------*/

    if ( ivas_format_old != st_ivas->ivas_format && st_ivas->ini_frame > 0 )
    if ( ivas_format_old != st_ivas->ivas_format && st_ivas->ini_frame > 0 ) // Note: for OMASA/OSBA, this condtion need to be changed!!!
    {
        IVAS_FORMAT ivas_format_read = st_ivas->ivas_format;

@@ -2015,6 +2015,10 @@ void ivas_destroy_dec(
    }
#endif

#ifdef JBM_TSM_ON_TCS
    ivas_jbm_dec_tc_buffer_close( &st_ivas->hTcBuffer );
#endif

    /* Limiter struct */
    ivas_limiter_close( &( st_ivas->hLimiter ) );

@@ -2025,10 +2029,6 @@ void ivas_destroy_dec(
        st_ivas->hDecoderConfig = NULL;
    }

#ifdef JBM_TSM_ON_TCS
    ivas_jbm_dec_tc_buffer_close( &st_ivas->hTcBuffer );
#endif

    /* main IVAS handle */
    free( st_ivas );
#endif
+0 −4
Original line number Diff line number Diff line
@@ -335,10 +335,6 @@ void IVAS_DEC_Close(
            ( *phIvasDec )->st_ivas->hDecoderConfig = NULL;
        }

#ifdef JBM_TSM_ON_TCS
        ivas_jbm_dec_tc_buffer_close( &( ( *phIvasDec )->st_ivas->hTcBuffer ) );
#endif

        /* main IVAS handle */
        free( ( *phIvasDec )->st_ivas );
#else
+2 −2

File changed.

Contains only whitespace changes.