diff options
Diffstat (limited to '')
-rw-r--r-- | src/pipe.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/pipe.c b/src/pipe.c index c681ab2c9..0c393c0b1 100644 --- a/src/pipe.c +++ b/src/pipe.c @@ -17,6 +17,7 @@ */ #include "pipe.h" +#include "chunk.h" #include "notify.h" #include "audio_format.h" #include "tag.h" @@ -27,20 +28,6 @@ struct music_pipe music_pipe; -static void -music_chunk_init(struct music_chunk *chunk) -{ - chunk->length = 0; - chunk->tag = NULL; -} - -static void -music_chunk_free(struct music_chunk *chunk) -{ - if (chunk->tag != NULL) - tag_free(chunk->tag); -} - void music_pipe_init(unsigned int size, struct notify *notify) { |