aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-04-18 06:28:12 +0000
committerEric Wong <normalperson@yhbt.net>2006-04-18 06:28:12 +0000
commit327d4861cfd507849fd62b9c73f9307fae298eda (patch)
tree1b7492efbad5a9245d1fe27eed3d754e57ca5303
parente31558206af472c70cac23c493c28aac8e196b6f (diff)
downloadmpd-327d4861cfd507849fd62b9c73f9307fae298eda.tar.gz
mpd-327d4861cfd507849fd62b9c73f9307fae298eda.tar.xz
mpd-327d4861cfd507849fd62b9c73f9307fae298eda.zip
oggvorbis_plugin.c: eek, I'm a moron..
git-svn-id: https://svn.musicpd.org/mpd/trunk@4081 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-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;
}