diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2011-06-21 19:27:30 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2011-06-21 19:27:30 +1000 |
commit | 19dd992490602bbfc3817a03deba29c68b4a9938 (patch) | |
tree | 96a2d81d8ee3532ac247b5ca8d6a6c1530495133 /programs | |
parent | 2fae56b753b40a0c07ad70db57b8f0cdab65fc07 (diff) |
programs/sndfile-interleave.c : Fix handling of argc.
Diffstat (limited to 'programs')
-rw-r--r-- | programs/sndfile-interleave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/sndfile-interleave.c b/programs/sndfile-interleave.c index 0e2cee0..24d6b9d 100644 --- a/programs/sndfile-interleave.c +++ b/programs/sndfile-interleave.c @@ -82,7 +82,7 @@ main (int argc, char **argv) usage_exit () ; } ; - if (argc - 2 > MAX_INPUTS) + if (argc - 3 > MAX_INPUTS) { printf ("\nError : Cannot handle more than %d input channels.\n\n", MAX_INPUTS) ; exit (1) ; } ; |