X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/929f577e4845639606f0d0297f5b4fff51032051..fdea9f4074cae1b25ec0a7896502db1523d8ebfa:/clients/resample.c diff --git a/clients/resample.c b/clients/resample.c index 6c0bd3f..bc41013 100644 --- a/clients/resample.c +++ b/clients/resample.c @@ -11,7 +11,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -116,6 +116,7 @@ int main(int argc, char **argv) { case 'n': case 'N': input_endian = ENDIAN_NATIVE; break; default: disorder_fatal(0, "unknown endianness '%s'", optarg); } + break; case 'B': output_bits = atoi(optarg); break; case 'C': output_channels = atoi(optarg); break; case 'R': output_rate = atoi(optarg); break; @@ -128,7 +129,8 @@ int main(int argc, char **argv) { case 'n': case 'N': output_endian = ENDIAN_NATIVE; break; default: disorder_fatal(0, "unknown endianness '%s'", optarg); } - default: fatal(0, "invalid option"); + break; + default: disorder_fatal(0, "invalid option"); } } struct resampler rs[1];