diff options
author | Max Kellermann <max@duempel.org> | 2009-03-03 22:23:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-03 22:23:25 +0100 |
commit | c655f804a92d82416b62d541c528b615e2ce27f6 (patch) | |
tree | 14b322890dd438dee443668b0b637f92b19b9db9 /src/pipe.c | |
parent | 1063c1f2e3ac297d0e766f2573ee6459bc31df11 (diff) | |
download | mpd-c655f804a92d82416b62d541c528b615e2ce27f6.tar.gz mpd-c655f804a92d82416b62d541c528b615e2ce27f6.tar.xz mpd-c655f804a92d82416b62d541c528b615e2ce27f6.zip |
music_pipe: moved struct music_chunk to chunk.h
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) { |