aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-temporal-mean.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blind-temporal-mean.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blind-temporal-mean.c b/src/blind-temporal-mean.c
index 4633d75..8a72a27 100644
--- a/src/blind-temporal-mean.c
+++ b/src/blind-temporal-mean.c
@@ -154,8 +154,10 @@ main(int argc, char *argv[])
if (stream.encoding == DOUBLE)
process = process_functions_lf[method];
- else
+ else if (stream.encoding == FLOAT)
process = process_functions_f[method];
+ else
+ eprintf("pixel format %s is not supported, try xyza\n", stream.pixfmt);
stream.frames = 1;
echeck_dimensions(&stream, WIDTH | HEIGHT, NULL);