aboutsummaryrefslogtreecommitdiffstats
path: root/src/vu-split.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-01-12 14:45:47 +0100
committerMattias Andrée <maandree@kth.se>2017-01-12 14:45:47 +0100
commit3f57514b212fe50b2b56438f399d37a1b51745b0 (patch)
tree16b3d331a4cb535cc8881dc66a10ea68945c7cdf /src/vu-split.c
parentFix header size limit (diff)
downloadblind-3f57514b212fe50b2b56438f399d37a1b51745b0.tar.gz
blind-3f57514b212fe50b2b56438f399d37a1b51745b0.tar.bz2
blind-3f57514b212fe50b2b56438f399d37a1b51745b0.tar.xz
Add vu-from-video
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/vu-split.c')
-rw-r--r--src/vu-split.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vu-split.c b/src/vu-split.c
index b1ed398..ff6ce38 100644
--- a/src/vu-split.c
+++ b/src/vu-split.c
@@ -47,6 +47,8 @@ main(int argc, char *argv[])
for (i = 0; i < parts; i++) {
fd = eopen(argv[i * 2], O_WRONLY | O_CREAT | O_TRUNC, 0666);
fp = fdopen(fd, "wb");
+ if (!fp)
+ eprintf("fdopen %s:", argv[i * 2]);
stream.frames = ends[i] - (i ? ends[i - 1] : 0);
fprint_stream_head(fp, &stream);