aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-01 01:14:23 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-01 01:14:23 +0000
commit4ba7779c89b9f87aec1609150ec54d797891433b (patch)
treee4875d3b62237fee533e5d2d16f3db422ea9149d
parent9fc4e67fefd3e782d57112b0f311db889f5a7ed9 (diff)
downloadmpd-4ba7779c89b9f87aec1609150ec54d797891433b.tar.gz
mpd-4ba7779c89b9f87aec1609150ec54d797891433b.tar.xz
mpd-4ba7779c89b9f87aec1609150ec54d797891433b.zip
validateUtf8Tag on stream metadata
git-svn-id: https://svn.musicpd.org/mpd/trunk@1270 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index f1df0b0b7..7a6442991 100644
--- a/src/player.c
+++ b/src/player.c
@@ -489,6 +489,7 @@ Song * playerCurrentDecodeSong() {
if(pc->title >= 0) {
song->tag->title = strdup(pc->title + pc->metadata);
}
+ validateUtf8Tag(song->tag);
resetPlayerMetadata();
return song;
}