fix bug, --remove-replay-gain was not removing REPLAYGAIN_REFERENCE_LOUDNESS
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 15 Sep 2006 04:25:39 +0000 (04:25 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 15 Sep 2006 04:25:39 +0000 (04:25 +0000)
src/metaflac/options.c

index 8deeaad..7673740 100644 (file)
@@ -588,7 +588,8 @@ FLAC__bool parse_option(int option_index, const char *option_argument, CommandLi
                (void) append_shorthand_operation(options, OP__ADD_REPLAY_GAIN);
        }
        else if(0 == strcmp(opt, "remove-replay-gain")) {
-               const FLAC__byte * const tags[4] = {
+               const FLAC__byte * const tags[5] = {
+                       GRABBAG__REPLAYGAIN_TAG_REFERENCE_LOUDNESS,
                        GRABBAG__REPLAYGAIN_TAG_TITLE_GAIN,
                        GRABBAG__REPLAYGAIN_TAG_TITLE_PEAK,
                        GRABBAG__REPLAYGAIN_TAG_ALBUM_GAIN,