aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/VorbisComments.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 22:04:58 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 22:04:58 +0100
commit39060b528aceee15a19842f2e9c830d4b35af99e (patch)
tree179bff5d1494118f284eb8e45b00206ff7315844 /src/decoder/VorbisComments.cxx
parent4a36323f1bf9b6db20faa5f512095d1bb7bced2b (diff)
downloadmpd-39060b528aceee15a19842f2e9c830d4b35af99e.tar.gz
mpd-39060b528aceee15a19842f2e9c830d4b35af99e.tar.xz
mpd-39060b528aceee15a19842f2e9c830d4b35af99e.zip
decoder/vorbis: convert to C++
Diffstat (limited to '')
-rw-r--r--src/decoder/VorbisComments.cxx (renamed from src/decoder/vorbis_comments.c)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder/vorbis_comments.c b/src/decoder/VorbisComments.cxx
index 84f7c5014..10fe22369 100644
--- a/src/decoder/vorbis_comments.c
+++ b/src/decoder/VorbisComments.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -18,7 +18,7 @@
*/
#include "config.h"
-#include "vorbis_comments.h"
+#include "VorbisComments.hxx"
#include "XiphTags.h"
#include "tag.h"
#include "tag_table.h"
@@ -120,7 +120,7 @@ vorbis_scan_comment(const char *comment,
for (unsigned i = 0; i < TAG_NUM_OF_ITEM_TYPES; ++i)
if (vorbis_copy_comment(comment,
- tag_item_names[i], i,
+ tag_item_names[i], tag_type(i),
handler, handler_ctx))
return;
}