From 333c0a6fdd6039e936f0de1cd9f7534a9339deda Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 7 Jun 2004 14:16:10 +0000 Subject: some fixes to metadata stuff git-svn-id: https://svn.musicpd.org/mpd/trunk@1370 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/decode.c') 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) { -- cgit v1.2.3