summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2011-06-21 19:27:30 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2011-06-21 19:27:30 +1000
commit19dd992490602bbfc3817a03deba29c68b4a9938 (patch)
tree96a2d81d8ee3532ac247b5ca8d6a6c1530495133 /programs
parent2fae56b753b40a0c07ad70db57b8f0cdab65fc07 (diff)
programs/sndfile-interleave.c : Fix handling of argc.
Diffstat (limited to 'programs')
-rw-r--r--programs/sndfile-interleave.c2
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) ;
} ;