aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-temporal-arithm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blind-temporal-arithm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blind-temporal-arithm.c b/src/blind-temporal-arithm.c
index f9f7b51..7b447e6 100644
--- a/src/blind-temporal-arithm.c
+++ b/src/blind-temporal-arithm.c
@@ -73,8 +73,10 @@ main(int argc, char *argv[])
if (stream.encoding == DOUBLE)
process = get_process_lf(argv[0]);
- else
+ else if (stream.encoding == FLOAT)
process = get_process_f(argv[0]);
+ else
+ eprintf("pixel format %s is not supported, try xyza\n", stream.pixfmt);
echeck_dimensions(&stream, WIDTH | HEIGHT, NULL);
img = emalloc(stream.frame_size);