aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-03-03 18:57:59 +0100
committerMax Kellermann <max@duempel.org>2009-03-03 21:30:26 +0100
commit39fb8bebc208a5d9558c9283e5c47b18df893c0c (patch)
treeb0b05ee2bd379cccbd7c7c609d9d32c96c9c108c /test
parente7f034dceff196b7588bca995a5e22bd480f71ca (diff)
downloadmpd-39fb8bebc208a5d9558c9283e5c47b18df893c0c.tar.gz
mpd-39fb8bebc208a5d9558c9283e5c47b18df893c0c.tar.xz
mpd-39fb8bebc208a5d9558c9283e5c47b18df893c0c.zip
test: init input streams cause decoders are using it
Diffstat (limited to 'test')
-rw-r--r--test/read_tags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index 1b223f074..ba8d8dce7 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -126,6 +126,7 @@ int main(int argc, char **argv)
decoder_name = argv[1];
path = argv[2];
+ input_stream_global_init();
decoder_plugin_init_all();
plugin = decoder_plugin_from_name(decoder_name);
@@ -136,6 +137,7 @@ int main(int argc, char **argv)
tag = decoder_plugin_tag_dup(plugin, path);
decoder_plugin_deinit_all();
+ input_stream_global_finish();
if (tag == NULL) {
g_printerr("Failed to read tags\n");
return 1;