ref: 069d653fd9f6eef75a07e67b2da0565ec5918755
parent: 6ffdc3b49db8be8d036b5a05c60995d8bc0ee905
author: robs <robs>
date: Wed Jul 30 18:21:03 EDT 2008
fix [ 2032939 ] coredump when 'play' is run with no args
--- a/src/sox.c
+++ b/src/sox.c
@@ -1716,7 +1716,7 @@
combine_method = sox_concatenate;
/* Make sure we got at least the required # of input filenames */
- if (input_count < is_serial(combine_method ? 1 : 2))
+ if (input_count < (is_serial(combine_method) ? 1 : 2))
usage("Not enough input filenames specified");
/* Check for misplaced input/output-specific options */
--
⑨