aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/VorbisComments.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/plugins/VorbisComments.cxx')
-rw-r--r--src/decoder/plugins/VorbisComments.cxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/decoder/plugins/VorbisComments.cxx b/src/decoder/plugins/VorbisComments.cxx
index 2a0820ab5..f1dcdc1b0 100644
--- a/src/decoder/plugins/VorbisComments.cxx
+++ b/src/decoder/plugins/VorbisComments.cxx
@@ -23,26 +23,14 @@
#include "tag/TagTable.hxx"
#include "tag/TagHandler.hxx"
#include "tag/TagBuilder.hxx"
+#include "tag/VorbisComment.hxx"
#include "ReplayGainInfo.hxx"
#include "util/ASCII.hxx"
#include "util/SplitString.hxx"
#include <stddef.h>
-#include <string.h>
#include <stdlib.h>
-static const char *
-vorbis_comment_value(const char *comment, const char *needle)
-{
- size_t len = strlen(needle);
-
- if (StringEqualsCaseASCII(comment, needle, len) &&
- comment[len] == '=')
- return comment + len + 1;
-
- return nullptr;
-}
-
bool
vorbis_comments_to_replay_gain(ReplayGainInfo &rgi, char **comments)
{