blind

suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log | Files | Refs | README | LICENSE

commit 42dbdaca968f29457eac192cea065551b496703f
parent aea3343ed3e0398721ced18a6e3ab72c9ebea850
Author: Mattias Andrée <maandree@kth.se>
Date:   Fri, 14 Jul 2017 22:22:14 +0200

Fix blind-{cross,dot,quaternion}-product and blind-vector-projection

Signed-off-by: Mattias Andrée <maandree@kth.se>

Diffstat:
MTODO | 11-----------
Msrc/blind-cross-product.c | 4++--
Msrc/blind-dot-product.c | 4++--
Msrc/blind-quaternion-product.c | 4++--
Msrc/blind-vector-projection.c | 4++--
5 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/TODO b/TODO @@ -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. @@ -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 @@ -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 @@ -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 @@ -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 @@ -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;