aboutsummaryrefslogtreecommitdiffstats
path: root/swaygrab
diff options
context:
space:
mode:
Diffstat (limited to 'swaygrab')
-rw-r--r--swaygrab/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaygrab/main.c b/swaygrab/main.c
index d64d2ff2..403f7b38 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -72,7 +72,7 @@ void grab_and_apply_movie_magic(const char *file, const char *output,
72 "-video_size %dx%d -pixel_format argb " 72 "-video_size %dx%d -pixel_format argb "
73 "-i pipe:0 -r %d -vf vflip %s"; 73 "-i pipe:0 -r %d -vf vflip %s";
74 char *cmd = malloc(strlen(fmt) - 8 /*args*/ 74 char *cmd = malloc(strlen(fmt) - 8 /*args*/
75 + numlen(width) + numlen(height) + numlen(framerate) * 2 75 + numlen(width) + numlen(height) + numlen(framerate) * 2
76 + strlen(file) + 1); 76 + strlen(file) + 1);
77 sprintf(cmd, fmt, framerate, width, height, framerate, file); 77 sprintf(cmd, fmt, framerate, width, height, framerate, file);
78 78