blind

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

commit 3ad57ea82389e52c72c310268bde8b8540fa408e
parent 4d4f28c49274f0d3cae4365af4c32cc3e4b8222a
Author: Mattias Andrée <maandree@kth.se>
Date:   Wed, 10 May 2017 10:50:55 +0200

blind-flip is optimal

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

Diffstat:
Msrc/blind-flip.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/blind-flip.c b/src/blind-flip.c @@ -27,6 +27,7 @@ main(int argc, char *argv[]) while (eread_frame(&stream, buf, n)) for (ptr = n; ptr;) ewriteall(STDOUT_FILENO, buf + (ptr -= rown), rown, "<stdout>"); + /* ewriteall is faster than writev(3) and vmsplice(3) */ free(buf); return 0;