[flac-dev] error message for flac --sign

Michael W. Bombardieri mb at ii.net
Fri Apr 14 03:13:21 UTC 2017


Hi,

The --sign option in flac can be signed or unsigned,
but the error message mentions "uint32_t".

- Michael


diff --git a/src/flac/main.c b/src/flac/main.c
index 4e7361b3..c6d9b1e3 100644
--- a/src/flac/main.c
+++ b/src/flac/main.c
@@ -817,7 +817,7 @@ int parse_option(int short_option, const char *long_option, const char *option_a
 			else if(0 == strncmp(option_argument, "unsigned", strlen(option_argument)))
 				option_values.format_is_unsigned_samples = true;
 			else
-				return usage_error("ERROR: argument to --sign must be \"signed\" or \"uint32_t\"\n");
+				return usage_error("ERROR: argument to --sign must be \"signed\" or \"unsigned\"\n");
 		}
 		else if(0 == strcmp(long_option, "residual-gnuplot")) {
 			option_values.aopts.do_residual_gnuplot = true;


More information about the flac-dev mailing list