allow --replay-gain with --skip

This commit is contained in:
Josh Coalson 2002-10-31 06:16:19 +00:00
parent b1824a4e8f
commit 291eb08e43

View File

@ -387,8 +387,6 @@ int do_it()
return usage_error("ERROR: --replay-gain not allowed with -c/--stdout\n");
if(option_values.mode_decode)
return usage_error("ERROR: --replay-gain only allowed for encoding\n");
if(option_values.skip > 0)
return usage_error("ERROR: --replay-gain not allowed with --skip\n");
if(option_values.format_channels > 2)
return usage_error("ERROR: --replay-gain can only be done with mono/stereo input\n");
if(option_values.format_sample_rate >= 0 && !FLAC__replaygain_is_valid_sample_frequency(option_values.format_sample_rate))