diff options
-rw-r--r-- | src/vox.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -129,10 +129,8 @@ static int vox_start(xas_vox *vox) { snprintf(sample_rate, sizeof(sample_rate)-1, "%zu", vox->format.sample_rate); if (vox->tmpfile[0] && vox->tmpfd > 0) { - args[6] = "-eval"; - args[7] = vox->tmpfile; - - argn += 2; + args[argn++] = "-eval"; + args[argn++] = vox->tmpfile; } if ((argv = args_concat(argn, args, vox->argn, vox->args, &argc)) == NULL) { |