aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_playlist.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/dump_playlist.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/dump_playlist.c b/test/dump_playlist.c
index af8a3a512..fba9498a7 100644
--- a/test/dump_playlist.c
+++ b/test/dump_playlist.c
@@ -74,7 +74,12 @@ int main(int argc, char **argv)
return 1;
}
- input_stream_global_init();
+ if (!input_stream_global_init(&error)) {
+ g_warning("%s", error->message);
+ g_error_free(error);
+ return 2;
+ }
+
playlist_list_global_init();
/* open the playlist */