test/read_tags: initialize the tag_pool library

This commit is contained in:
Max Kellermann 2011-09-13 22:46:47 +02:00
parent 9c46cc4ea0
commit 62557f4d6b

View File

@ -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)
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)
} }
} }
tag_pool_deinit();
return 0; return 0;
} }