returnIVAS_ERROR(IVAS_ERR_INTERNAL_FATAL,"Indice ID = %d exceeds the total number of indices: %d (frame %d) !\n",id,MAX_NUM_INDICES,frame);
}
#endif
#endif
#ifdef IND_LIST_DYN
/* check, if max number of indices has not been exceeded */
/* check, if the maximum number of indices has been reached and re-allocate the buffer */
/* the re-allocation can be avoided by increasing the limits in get_max_num_indices() and get_max_num_indices_metadata() */
if(hBstr->nb_ind_tot>=hBstr->max_num_indices)
{
returnIVAS_ERROR(IVAS_ERR_INTERNAL_FATAL,"Maximum number of indices %d has been exceeded (frame %d) !\n",hBstr->max_num_indices,frame);
}
#ifdef DEBUGGING
DEBUG_LINE(1)
printf("Warning: Maximum number of indices %d has been exceeded (frame %d)! Increase the limits in get_max_num_indices() or get_max_num_indices_metadata().\n",hBstr->max_num_indices,frame);
#endif
/* reallocate the buffer of indices with increased limit */
st_ivas->hSCE[sce_id]->hCoreCoder[0]->total_brate=st_ivas->hSCE[sce_id]->element_brate;/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
#ifdef IND_LIST_DYN
/* re-allocate list of metadata indices, if needed */
st_ivas->hCPE[cpe_id]->hCoreCoder[n]->total_brate=st_ivas->hCPE[cpe_id]->element_brate/(st_ivas->nCPE>1?1:CPE_CHANNELS);/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
}
#ifdef IND_LIST_DYN
/* re-allocate list of metadata indices, if needed */
st_ivas->hSCE[sce_id]->hCoreCoder[0]->total_brate=st_ivas->hSCE[sce_id]->element_brate;/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
#ifdef IND_LIST_DYN
/* re-allocate list of metadata indices, if needed */
st_ivas->hCPE[cpe_id]->hCoreCoder[n]->total_brate=st_ivas->hCPE[cpe_id]->element_brate/(st_ivas->nCPE>1?1:CPE_CHANNELS);/* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
#ifdef IND_LIST_DYN
/* re-allocate list of metadata indices, if needed */