Commit 48eb3ff8 authored by Max Kellermann's avatar Max Kellermann

test/run_decoder: initialize the tag_pool library

parent 5646dcc7
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "config.h" #include "config.h"
#include "decoder_list.h" #include "decoder_list.h"
#include "decoder_api.h" #include "decoder_api.h"
#include "tag_pool.h"
#include "input_init.h" #include "input_init.h"
#include "input_stream.h" #include "input_stream.h"
#include "audio_format.h" #include "audio_format.h"
...@@ -180,6 +181,8 @@ int main(int argc, char **argv) ...@@ -180,6 +181,8 @@ int main(int argc, char **argv)
g_log_set_default_handler(my_log_func, NULL); g_log_set_default_handler(my_log_func, NULL);
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);
...@@ -228,5 +231,7 @@ int main(int argc, char **argv) ...@@ -228,5 +231,7 @@ int main(int argc, char **argv)
return 1; return 1;
} }
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