aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-norm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blind-norm.c')
-rw-r--r--src/blind-norm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/blind-norm.c b/src/blind-norm.c
index 8a2b223..9458361 100644
--- a/src/blind-norm.c
+++ b/src/blind-norm.c
@@ -40,13 +40,7 @@ main(int argc, char *argv[])
eopen_stream(&stream, NULL);
- if (!strcmp(stream.pixfmt, "xyza"))
- process = process_lf;
- else if (!strcmp(stream.pixfmt, "xyza f"))
- process = process_f;
- else
- eprintf("pixel format %s is not supported, try xyza\n", stream.pixfmt);
-
+ SELECT_PROCESS_FUNCTION(&stream);
fprint_stream_head(stdout, &stream);
efflush(stdout, "<stdout>");
process(&stream);