aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-matrix-orthoproject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blind-matrix-orthoproject.c')
-rw-r--r--src/blind-matrix-orthoproject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blind-matrix-orthoproject.c b/src/blind-matrix-orthoproject.c
index 816e76c..f3f70c4 100644
--- a/src/blind-matrix-orthoproject.c
+++ b/src/blind-matrix-orthoproject.c
@@ -29,6 +29,7 @@ main(int argc, char *argv[])
eopen_stream(&stream, NULL);
SELECT_PROCESS_FUNCTION(&stream);
+ CHECK_CHANS(&stream, == 3, == 1);
if (stream.width > 2 || stream.height > 2 || stream.width * stream.height != 2)
eprintf("<stdin>: each frame must contain exactly 2 pixels\n");