minors twicks

This commit is contained in:
2020-01-23 12:36:33 +01:00
parent 87f3fb95bd
commit cc9619fdbe
2 changed files with 4 additions and 3 deletions

View File

@@ -55,11 +55,10 @@ return 0;
int fimg_desaturate(FloatImg *src, FloatImg *dst, int k)
{
int foo, nbb;
float fval;
/* we must check the validity of our parameters */
if (FIMG_TYPE_RGB != src->type || FIMG_TYPE_RGB != dst->type) {
fprintf(stderr, "%s : bad image type\n", __func__, src->type, src);
fprintf(stderr, "%s : bad image type\n", __func__);
return -18;
}