From 3569a10c97d41913dbf7cf3114cb4d2d5f17dc7f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 15 Jul 2017 17:08:02 +0200 Subject: Some improvements and fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-quaternion-product.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/blind-quaternion-product.c') diff --git a/src/blind-quaternion-product.c b/src/blind-quaternion-product.c index 1eedb7d..02bed9d 100644 --- a/src/blind-quaternion-product.c +++ b/src/blind-quaternion-product.c @@ -39,9 +39,9 @@ main(int argc, char *argv[]) eopen_stream(&left, NULL); eopen_stream(&right, argv[0]); - if (!strcmp(left.pixfmt, "xyza")) + if (left.encoding == DOUBLE) process = process_lf; - else if (!strcmp(left.pixfmt, "xyza f")) + else if (left.encoding == FLOAT) process = process_f; else eprintf("pixel format %s is not supported, try xyza\n", left.pixfmt); -- cgit v1.2.3-70-g09d2