aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-to-video.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-04-08 13:57:36 +0200
committerMattias Andrée <maandree@kth.se>2017-04-08 13:57:36 +0200
commit478b53f935264bdfe4efe394f8d804a1361a6770 (patch)
tree31c87de7b67f928ff93b4564e0929d7db2a369f8 /src/blind-to-video.c
parentUpdate TODO: blind-from-sent (diff)
downloadblind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.gz
blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.bz2
blind-478b53f935264bdfe4efe394f8d804a1361a6770.tar.xz
Document memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflow
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-to-video.c')
-rw-r--r--src/blind-to-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-to-video.c b/src/blind-to-video.c
index 0793a0a..04cfd91 100644
--- a/src/blind-to-video.c
+++ b/src/blind-to-video.c
@@ -123,7 +123,7 @@ main(int argc, char *argv[])
if (dup2(pipe_rw[0], STDIN_FILENO) == -1)
eprintf("dup2:");
close(pipe_rw[0]);
- execvp("ffmpeg", cmd);
+ execvp("ffmpeg", (char **)(void *)cmd);
eprintf("exec ffmpeg:");
}