double error = 0, max = 0;
for (i = 0; i < n; i++) {
- double e = fabsf(tab1[i] - (tab2[i] / scale)) / RANGE;
+ double e = fabs(tab1[i] - (tab2[i] / scale)) / RANGE;
if (e >= 1e-3) {
av_log(NULL, AV_LOG_ERROR, "ERROR %5d: "FMT" "FMT"\n",
i, tab1[i], tab2[i]);
break;
case 'c':
{
- int cpuflags = av_get_cpu_flags();
+ unsigned cpuflags = av_get_cpu_flags();
if (av_parse_cpu_caps(&cpuflags, optarg) < 0)
return 1;