From d05d162cb81664f292834fa5d48d623d2b6147a7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 16 Jul 2017 15:29:43 +0200 Subject: Misc code improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-multiply-matrices.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/blind-multiply-matrices.c') 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; -- cgit v1.2.3-70-g09d2