diff options
Diffstat (limited to '')
| -rw-r--r-- | src/blind-premultiply.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/blind-premultiply.c b/src/blind-premultiply.c index 5d46c06..c670b60 100644 --- a/src/blind-premultiply.c +++ b/src/blind-premultiply.c @@ -36,13 +36,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); |
