Commit 39fb8beb authored by Viliam Mateicka's avatar Viliam Mateicka Committed by Max Kellermann

test: init input streams cause decoders are using it

parent e7f034dc
...@@ -126,6 +126,7 @@ int main(int argc, char **argv) ...@@ -126,6 +126,7 @@ int main(int argc, char **argv)
decoder_name = argv[1]; decoder_name = argv[1];
path = argv[2]; path = argv[2];
input_stream_global_init();
decoder_plugin_init_all(); decoder_plugin_init_all();
plugin = decoder_plugin_from_name(decoder_name); plugin = decoder_plugin_from_name(decoder_name);
...@@ -136,6 +137,7 @@ int main(int argc, char **argv) ...@@ -136,6 +137,7 @@ int main(int argc, char **argv)
tag = decoder_plugin_tag_dup(plugin, path); tag = decoder_plugin_tag_dup(plugin, path);
decoder_plugin_deinit_all(); decoder_plugin_deinit_all();
input_stream_global_finish();
if (tag == NULL) { if (tag == NULL) {
g_printerr("Failed to read tags\n"); g_printerr("Failed to read tags\n");
return 1; return 1;
......
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