aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-07 14:16:10 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-07 14:16:10 +0000
commit333c0a6fdd6039e936f0de1cd9f7534a9339deda (patch)
treef1deee5d78f123d6f19e9f05d9b4346e5dd86f44 /src/decode.c
parentae44b7dae5878a1484243b89d14317d2dab5fdde (diff)
downloadmpd-333c0a6fdd6039e936f0de1cd9f7534a9339deda.tar.gz
mpd-333c0a6fdd6039e936f0de1cd9f7534a9339deda.tar.xz
mpd-333c0a6fdd6039e936f0de1cd9f7534a9339deda.zip
some fixes to metadata stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@1370 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/decode.c b/src/decode.c
index 51c951c51..1ed2c00ee 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -388,17 +388,6 @@ int decoderInit(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
return 0;
}
-#define copyMetadata() { \
- memcpy(pc->metadata, metadata, DECODE_METADATA_LENGTH); \
- pc->name = name; \
- pc->title = title; \
- pc->artist = artist; \
- pc->album = album; \
- gotMetadata = 0; \
- pc->metadataState = PLAYER_METADATA_STATE_READ; \
- kill(getppid(), SIGUSR1); \
-}
-
void handleMetadata(OutputBuffer * cb, PlayerControl * pc, int * previous,
int * currentChunkSent, MetadataChunk * currentChunk)
{