mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
programs/sndfile-interleave.c : Fix handling of argc.
This commit is contained in:
parent
2fae56b753
commit
19dd992490
@ -1,3 +1,8 @@
|
||||
2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* programs/sndfile-interleave.c
|
||||
Fix handling of argc. Thanks to Marius Hennecke.
|
||||
|
||||
2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/sndfile.h.in
|
||||
|
@ -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) ;
|
||||
} ;
|
||||
|
Loading…
Reference in New Issue
Block a user