summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 9b64deb4a9..8ae334880b 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -155,6 +155,7 @@ static stream_t *open_stream_plugin(const stream_info_t *sinfo,
if (m_option_parse(&url_opt, bstr0("stream url"), bstr0(filename), arg) < 0) {
mp_tmsg(MSGT_OPEN,MSGL_ERR, "URL parsing failed on url %s\n",filename);
m_struct_free(desc,arg);
+ *ret = STREAM_ERROR;
return NULL;
}
}