Commit 85301853 authored by Max Kellermann's avatar Max Kellermann

ThreadInputStream: call ThreadRead() inside the thread instead of Read()

Fixes deadlock bug in the "mms" plugin.
parent 7cd53fb4
ver 0.19.1 (not yet released)
* input
- mms: fix deadlock bug
* fix build failure on Mac OS X
ver 0.19 (2014/10/10)
......
......@@ -88,7 +88,7 @@ ThreadInputStream::ThreadFunc()
Unlock();
Error error;
size_t nbytes = Read(w.data, w.size, error);
size_t nbytes = ThreadRead(w.data, w.size, error);
Lock();
cond.broadcast();
......
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