diff options
author | Max Kellermann <max@duempel.org> | 2011-09-13 22:46:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-02-04 14:32:17 +0100 |
commit | 5646dcc791c99439a321b7e73dffff2a60e47a16 (patch) | |
tree | 4bbe69e0f50d3c69be90a385438c50ff64b9024d /test | |
parent | 5d9876e33825e3ce526e480dc5311073078aba64 (diff) | |
download | mpd-5646dcc791c99439a321b7e73dffff2a60e47a16.tar.gz mpd-5646dcc791c99439a321b7e73dffff2a60e47a16.tar.xz mpd-5646dcc791c99439a321b7e73dffff2a60e47a16.zip |
test/read_tags: initialize the tag_pool library
Diffstat (limited to 'test')
-rw-r--r-- | test/read_tags.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/read_tags.c b/test/read_tags.c index 3e5e523bf..07d1afcba 100644 --- a/test/read_tags.c +++ b/test/read_tags.c @@ -24,6 +24,7 @@ #include "input_stream.h" #include "audio_format.h" #include "pcm_volume.h" +#include "tag_pool.h" #include "tag_ape.h" #include "tag_id3.h" #include "idle.h" @@ -164,6 +165,8 @@ int main(int argc, char **argv) decoder_name = argv[1]; path = argv[2]; + tag_pool_init(); + if (!input_stream_global_init(&error)) { g_warning("%s", error->message); g_error_free(error); @@ -215,5 +218,7 @@ int main(int argc, char **argv) } } + tag_pool_deinit(); + return 0; } |