Commit 4e69215d authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

simplify condition to run decoding in IVAS_DEC_FeedFrame_Serial

parent 43163cb0
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -918,8 +918,7 @@ ivas_error IVAS_DEC_FeedFrame_Serial(

#ifdef OBJ_EDITING_API
    /* decode TCs, do TSM and feed to renderer */
    if ( ( hIvasDec->st_ivas->hDecoderConfig->Opt_tsm && hIvasDec->hasBeenFedFirstGoodFrame ) ||
         ( !hIvasDec->st_ivas->hDecoderConfig->Opt_tsm && ( !hIvasDec->isInitialized || hIvasDec->hasBeenFedFrame ) ) )
    if ( ( hIvasDec->st_ivas->hDecoderConfig->Opt_tsm && hIvasDec->hasBeenFedFirstGoodFrame ) || !hIvasDec->st_ivas->hDecoderConfig->Opt_tsm )
    {
        uint16_t l_ts, nTimeScalerOutSamples;
        uint8_t nTransportChannels, nOutChannels;