Commit 8e615d56 authored by wkr's avatar wkr
Browse files

fix compile errors with OSBA_DISC_OBJ_MCT and ENABLE_ISM_MD_CODING disabled

parent 2308c7a0
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -240,7 +240,9 @@ ivas_error ivas_ism_metadata_enc(

            if ( hIsmMeta[ch]->ism_metadata_flag == 1 )
            {
#ifdef OSBA_DISC_OBJ_MCT
                if ( ism_mode != ISM_SBA_MODE_DISC ) /*TODOfto this may cost a few bits but it is supposed to be for the higher bitrates anyway*/
#endif
                {
                    /* In case of low level noise for low bitrate inactive frames, do not sent metadata */
                    hIsmMeta[ch]->ism_metadata_flag = vad_flag[ch] || hSCE[ch]->hCoreCoder[0]->lp_noise > 10 || hSCE[ch]->hCoreCoder[0]->tcxonly;
@@ -362,11 +364,13 @@ ivas_error ivas_ism_metadata_enc(
                push_indice( hBstr, IND_ISM_MD_INACTIVE_FLAG, lowrate_metadata_flag[ch], ISM_METADATA_INACTIVE_FLAG_BITS );
            }
        }
#ifdef OSBA_DISC_OBJ_MCT
        else /*ism_mode == ISM_SBA_MODE_DISC*/
        {
            /* all objects are considered active*/
            push_indice( hBstr, IND_ISM_METADATA_FLAG, 1, 1 );
        }
#endif
    }