Commit 62557f4d authored by Max Kellermann's avatar Max Kellermann

test/read_tags: initialize the tag_pool library

parent 9c46cc4e
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "input_stream.h" #include "input_stream.h"
#include "audio_format.h" #include "audio_format.h"
#include "pcm_volume.h" #include "pcm_volume.h"
#include "tag_pool.h"
#include "tag_ape.h" #include "tag_ape.h"
#include "tag_id3.h" #include "tag_id3.h"
#include "idle.h" #include "idle.h"
...@@ -174,6 +175,8 @@ int main(int argc, char **argv) ...@@ -174,6 +175,8 @@ int main(int argc, char **argv)
return EXIT_FAILURE; return EXIT_FAILURE;
} }
tag_pool_init();
if (!input_stream_global_init(&error)) { if (!input_stream_global_init(&error)) {
g_warning("%s", error->message); g_warning("%s", error->message);
g_error_free(error); g_error_free(error);
...@@ -227,5 +230,7 @@ int main(int argc, char **argv) ...@@ -227,5 +230,7 @@ int main(int argc, char **argv)
} }
} }
tag_pool_deinit();
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment