aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/xspf_playlist_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist/xspf_playlist_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/playlist/xspf_playlist_plugin.c b/src/playlist/xspf_playlist_plugin.c
index 89a4a08a4..17d9040e2 100644
--- a/src/playlist/xspf_playlist_plugin.c
+++ b/src/playlist/xspf_playlist_plugin.c
@@ -253,7 +253,8 @@ xspf_open_stream(struct input_stream *is)
&parser, xspf_parser_destroy);
while (true) {
- nbytes = input_stream_read(is, buffer, sizeof(buffer), &error);
+ nbytes = input_stream_lock_read(is, buffer, sizeof(buffer),
+ &error);
if (nbytes == 0) {
if (error != NULL) {
g_markup_parse_context_free(context);