aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inputPlugins/oggvorbis_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c
index 5bd65073a..aa094856e 100644
--- a/src/inputPlugins/oggvorbis_plugin.c
+++ b/src/inputPlugins/oggvorbis_plugin.c
@@ -180,7 +180,7 @@ static MpdTag * oggCommentsParse(char ** comments) {
while(*comments) {
int j;
- for (j = TAG_NUM_OF_ITEM_TYPES - 1; --j >= 0; ) {
+ for (j = TAG_NUM_OF_ITEM_TYPES; --j >= 0; ) {
if (ogg_parseCommentAddToTag(*comments, j, &tag))
break;
}