From c598c4a2c02976702b55f84fe37bbc8f4c4a1039 Mon Sep 17 00:00:00 2001 From: tTh Date: Wed, 29 Nov 2023 11:28:21 +0100 Subject: [PATCH] ok boomer --- floatimg.h | 2 +- funcs/filtrage.c | 4 ++-- funcs/utils.c | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/floatimg.h b/floatimg.h index b19364df..dbf633d2 100644 --- a/floatimg.h +++ b/floatimg.h @@ -20,7 +20,7 @@ * https://git.tetalab.org/tTh/FloatImg */ -#define FIMG_VERSION (230) +#define FIMG_VERSION (231) #define RELEASE_NAME ("noname") #define PATCH_LEVEL ("aaaa") diff --git a/funcs/filtrage.c b/funcs/filtrage.c index da9a20c4..1528c668 100644 --- a/funcs/filtrage.c +++ b/funcs/filtrage.c @@ -46,9 +46,9 @@ float *pr, *pg, *pb; /* alias for src pix filds */ float *M; /* alias of filter matrix */ double dval; -// #if DEBUG_LEVEL +#if DEBUG_LEVEL fprintf(stderr, ">>> %s ( %p %p %p )\n", __func__, src, dst, filtr); -// #endif +#endif if (src->type != FIMG_TYPE_RGB) { fprintf(stderr, "%s: src type %d invalid\n", __func__, src->type); diff --git a/funcs/utils.c b/funcs/utils.c index 3106bf85..bae8a0ed 100644 --- a/funcs/utils.c +++ b/funcs/utils.c @@ -132,9 +132,11 @@ fprintf(stderr, ">>> %s ( %s %p %d )\n", __func__, str, r, notused); if (notused) { fprintf(stderr, "notused was %d, must be 0 in %s\n", - notused, __func__); } + notused, __func__); + } if (verbosity > 1) fprintf(stderr, "%s: parsing '%s'\n", __func__, str); + foo = sscanf(str, "%d,%d,%d,%d", &w, &h, &x, &y); if (4 == foo) { r->x = x, r->y = y, r->w = w, r->h = h;