aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-sinc-wave.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blind-sinc-wave.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blind-sinc-wave.c b/src/blind-sinc-wave.c
index 02c053d..aa91a8b 100644
--- a/src/blind-sinc-wave.c
+++ b/src/blind-sinc-wave.c
@@ -16,7 +16,6 @@ static int equal = 0;
TYPE y, theta0y = 0;\
TYPE z, theta0z = 0;\
TYPE a, theta0a = 0;\
- echeck_dimensions(grad, WIDTH | HEIGHT, NULL);\
do {\
if (!m) {\
m = grad->frame_size;\
@@ -107,6 +106,8 @@ main(int argc, char *argv[])
if (have_theta0 && strcmp(stream.pixfmt, theta0.pixfmt))
eprintf("videos use incompatible pixel formats\n");
+ echeck_dimensions(&stream, WIDTH | HEIGHT, NULL);
+
fprint_stream_head(stdout, &stream);
efflush(stdout, "<stdout>");
process(&stream, have_theta0 ? &theta0 : NULL);