diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-01-13 08:32:17 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-01-13 08:32:17 +0100 |
| commit | 836ed8b478c660a2fcb18cb4036da5706afd155c (patch) | |
| tree | 92a8512ffcd96126944f87bf5ed0113381d735bf /src/vu-from-image.c | |
| parent | vu-from-video: add -d (diff) | |
| download | blind-836ed8b478c660a2fcb18cb4036da5706afd155c.tar.gz blind-836ed8b478c660a2fcb18cb4036da5706afd155c.tar.bz2 blind-836ed8b478c660a2fcb18cb4036da5706afd155c.tar.xz | |
vu-from-image: style fix + vu-from-video: fix loop
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/vu-from-image.c')
| -rw-r--r-- | src/vu-from-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vu-from-image.c b/src/vu-from-image.c index bdfbde3..9c2d047 100644 --- a/src/vu-from-image.c +++ b/src/vu-from-image.c @@ -229,7 +229,7 @@ main(int argc, char *argv[]) if (!pid) { close(pipe_rw[0]); - if (dup2(pipe_rw[1], STDOUT_FILENO) < 0) + if (dup2(pipe_rw[1], STDOUT_FILENO) == -1) eprintf("dup2:"); close(pipe_rw[1]); /* XXX Is there a way to convert directly to raw XYZ? (Would avoid gamut truncation) */ |
