shithub: sox

Download patch

ref: bf961010fc3bdaf71c1b24117ffcf3cab4f3451f
parent: b7fb3b6134476a17dd5ef5339c9ca64c5775d0ee
author: Ulrich Klauer <ulrich@chirlu.de>
date: Fri Jan 27 08:08:43 EST 2012

silence: fix usage string

Don't escape the percent sign in the silence effect usage string, as
it isn't used as a printf format string. Plus a spelling fix.

--- a/src/silence.c
+++ b/src/silence.c
@@ -671,7 +671,7 @@
 
 static sox_effect_handler_t sox_silence_effect = {
   "silence",
-  "[ -l ] above_periods [ duration thershold[d|%%] ] [ below_periods duration threshold[d|%%]]",
+  "[ -l ] above_periods [ duration threshold[d|%] ] [ below_periods duration threshold[d|%] ]",
   SOX_EFF_MCHAN | SOX_EFF_MODIFY | SOX_EFF_LENGTH,
   sox_silence_getopts,
   sox_silence_start,