Commit 1042260d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix deadlock, do not jump out of cleanup context

parent 6f029c3e
......@@ -102,9 +102,7 @@ static void *Thread (void *data)
len = stream_Read (stream->p_source, buf, bufsize);
vlc_restorecancel (canc);
if (len <= 0)
break;
error = len <= 0;
for (ssize_t i = 0, j; i < len; i += j)
{
......
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