fix default values of interpolation

This commit is contained in:
Sarod Yatawatta 2018-08-28 11:21:51 +02:00
parent e7a4845f92
commit fa66c95c07
2 changed files with 4 additions and 3 deletions

View File

@ -423,7 +423,8 @@ cubic_interp(
}
}
return 0;
/* fallback value */
return (a+b)*0.5;
}

View File

@ -187,8 +187,8 @@ cubic_interp(
return b;
}
}
return 0;
/* fallback value */
return (a+b)*0.5;
}