commit aac5c4af10f109325fce74e3a8f7a853b4cff231
parent 855738be9e75e17bd482111ab6144e2e65b606b1
Author: Mattias Andrée <maandree@kth.se>
Date: Sun, 22 Jan 2017 13:14:30 +0100
blind-gauss-blur: fix -s
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/blind-gauss-blur.c b/src/blind-gauss-blur.c
@@ -163,7 +163,7 @@ process_xyza(char *restrict output, char *restrict cbuf, char *restrict sbuf,
}\
if (blur[0] + blur[1] + blur[2] == 0)\
goto no_blur_##DIR;\
- if (spread < 1)\
+ if (auto_spread && spread < 1)\
spread = 1;
#define BLUR_PIXEL(START, LOOP, DISTANCE)\