aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-09-24 20:31:54 +0200
committerMax Kellermann <max@duempel.org>2014-09-24 22:40:34 +0200
commit6c48aa5fae5b6f6dda8011b72e646af3ed1d35cd (patch)
tree9801e38c764433006114eac85d8a7af87a4b7eeb /src/decoder/plugins
parentd82547acd3173316a741733c7f946eabf29b7bc6 (diff)
downloadmpd-6c48aa5fae5b6f6dda8011b72e646af3ed1d35cd.tar.gz
mpd-6c48aa5fae5b6f6dda8011b72e646af3ed1d35cd.tar.xz
mpd-6c48aa5fae5b6f6dda8011b72e646af3ed1d35cd.zip
decoder/mad: move code to tag/MixRamp.cxx
Diffstat (limited to 'src/decoder/plugins')
-rw-r--r--src/decoder/plugins/MadDecoderPlugin.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx
index 3cbc448f7..41efb593d 100644
--- a/src/decoder/plugins/MadDecoderPlugin.cxx
+++ b/src/decoder/plugins/MadDecoderPlugin.cxx
@@ -26,6 +26,7 @@
#include "tag/TagRva2.hxx"
#include "tag/TagHandler.hxx"
#include "tag/ReplayGain.hxx"
+#include "tag/MixRamp.hxx"
#include "CheckAudioFormat.hxx"
#include "util/StringUtil.hxx"
#include "util/ASCII.hxx"
@@ -303,11 +304,7 @@ parse_id3_mixramp(struct id3_tag *tag)
id3_ucs4_latin1duplicate(id3_field_getstring
(&frame->fields[2]));
- if (StringEqualsCaseASCII(key, "mixramp_start")) {
- result.SetStart(value);
- } else if (StringEqualsCaseASCII(key, "mixramp_end")) {
- result.SetEnd(value);
- }
+ ParseMixRampTag(result, key, value);
free(key);
free(value);