Disable FME on amp/smp blocks with width or height not divisible by 8
@@ -1235,7 +1235,7 @@ static void search_pu_inter_ref(inter_search_info_t *info,
break;
}
- if (cfg->fme_level > 0 && info->best_cost < *inter_cost) {
+ if (cfg->fme_level > 0 && info->best_cost < *inter_cost && info->width % 8 == 0 && info->height % 8 == 0) {
search_frac(info);
} else if (info->best_cost < UINT32_MAX) {
