aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-multiply-matrices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blind-multiply-matrices.c')
-rw-r--r--src/blind-multiply-matrices.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/blind-multiply-matrices.c b/src/blind-multiply-matrices.c
index 6aea2f0..af86311 100644
--- a/src/blind-multiply-matrices.c
+++ b/src/blind-multiply-matrices.c
@@ -66,12 +66,7 @@ main(int argc, char *argv[])
height = streams[i].height;
}
- if (streams->encoding == DOUBLE)
- process = process_lf;
- else if (streams->encoding == FLOAT)
- process = process_f;
- else
- eprintf("pixel format %s is not supported, try xyza\n", streams->pixfmt);
+ SELECT_PROCESS_FUNCTION(streams);
w = streams->width, streams->width = max_width;
h = streams->height, streams->height = max_height;