ref: c401a824450c61471ff16610a194f34b67485933
parent: da2789eb0ad0f22bdb2f12dcc9177ebf62bb5b44
author: robs <robs>
date: Mon Dec 29 14:06:40 EST 2008
fix crash with no arguments
--- a/src/sox.c
+++ b/src/sox.c
@@ -2586,7 +2586,7 @@
input_count = file_count ? file_count - 1 : 0;
- {
+ if (file_count) {
sox_format_handler_t const * handler =
sox_write_handler(ofile->filename, ofile->filetype, NULL);
is_player = handler &&