there is a problem with the formula for obtaining the level in the enc_update_param_level function of the oapv_param.c file.
To include a max value in the LEVEL table, "<=" must be used instead of "<".
Please check the conditional expression of the code below and correct it.
for (int i = 0 ; i < MAX_LEVEL_NUM ; i++) {
// HERE
if (luma_sample_rate < max_luma_sample_rate[i]) {
min_level_idx = i;
for (int i = min_level_idx; i < MAX_LEVEL_NUM; i++) {
// HERE
if (param->bitrate < max_coded_data_rate[i][param->band_idc]) {
Thanks,