(wrong string) ée

From: <git_AT_suckless.org>
Date: Fri, 14 Jul 2017 22:22:58 +0200 (CEST)

commit 42dbdaca968f29457eac192cea065551b496703f
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri Jul 14 22:22:14 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Fri Jul 14 22:22:42 2017 +0200

    Fix blind-{cross,dot,quaternion}-product and blind-vector-projection
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/TODO b/TODO
index cd9e8d1..3762ca1 100644
--- a/TODO
+++ b/TODO
_AT_@ -54,8 +54,6 @@ blind-cone-gradient: add ability to make gradient superelliptic
 
 blind-arithm: add support for multiple streams
 
-bug: blind-stack: cannot use file outside /dev/fd/
-
 Add [-j jobs] to blind-from-video and blind-to-video.
 
 Generate a header file with the appropriate values for USING_BINARY32, USING_BINARY64.
_AT_@ -64,15 +62,6 @@ long double (xyza q) could be added as another format.
 unsigned char (xyza 8) could be added as another format, it's probably good for previewing
 
 
-UNTESTED:
- blind-norm
- blind-dot-product
- blind-cross-product
- blind-quaternion-product
- blind-vector-projection
- blind-coordinate-field
-
-
 HELP REQUIRED:
         blind-z-map create a Z-map video from two or more videos
         blind-track track the movement of a point
diff --git a/src/blind-cross-product.c b/src/blind-cross-product.c
index 693a6f2..b520719 100644
--- a/src/blind-cross-product.c
+++ b/src/blind-cross-product.c
_AT_@ -43,10 +43,10 @@ main(int argc, char *argv[])
         struct stream left, right;
         void (*process)(struct stream *left, struct stream *right, size_t n);
 
- UNOFLAGS(argc != 2);
+ UNOFLAGS(argc != 1);
 
         eopen_stream(&left, NULL);
- eopen_stream(&right, argv[1]);
+ eopen_stream(&right, argv[0]);
 
         if (!strcmp(left.pixfmt, "xyza"))
                 process = process_lf;
diff --git a/src/blind-dot-product.c b/src/blind-dot-product.c
index 044b7bf..0d9cc5c 100644
--- a/src/blind-dot-product.c
+++ b/src/blind-dot-product.c
_AT_@ -36,10 +36,10 @@ main(int argc, char *argv[])
         struct stream left, right;
         void (*process)(struct stream *left, struct stream *right, size_t n);
 
- UNOFLAGS(argc != 2);
+ UNOFLAGS(argc != 1);
 
         eopen_stream(&left, NULL);
- eopen_stream(&right, argv[1]);
+ eopen_stream(&right, argv[0]);
 
         if (!strcmp(left.pixfmt, "xyza"))
                 process = process_lf;
diff --git a/src/blind-quaternion-product.c b/src/blind-quaternion-product.c
index 6d24e24..7d7a400 100644
--- a/src/blind-quaternion-product.c
+++ b/src/blind-quaternion-product.c
_AT_@ -43,10 +43,10 @@ main(int argc, char *argv[])
         struct stream left, right;
         void (*process)(struct stream *left, struct stream *right, size_t n);
 
- UNOFLAGS(argc != 2);
+ UNOFLAGS(argc != 1);
 
         eopen_stream(&left, NULL);
- eopen_stream(&right, argv[1]);
+ eopen_stream(&right, argv[0]);
 
         if (!strcmp(left.pixfmt, "xyza"))
                 process = process_lf;
diff --git a/src/blind-vector-projection.c b/src/blind-vector-projection.c
index 199e01f..27b8b51 100644
--- a/src/blind-vector-projection.c
+++ b/src/blind-vector-projection.c
_AT_@ -71,11 +71,11 @@ main(int argc, char *argv[])
                 usage();
         } ARGEND;
 
- if (argc != 2)
+ if (argc != 1)
                 usage();
 
         eopen_stream(&left, NULL);
- eopen_stream(&right, argv[1]);
+ eopen_stream(&right, argv[0]);
 
         if (!strcmp(left.pixfmt, "xyza"))
                 process = process_lf;
Received on Fri Jul 14 2017 - 22:22:58 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 14 2017 - 22:24:46 CEST