Zebediah Figura (@zfigura) commented about dlls/wmvcore/async_reader.c:
+{
- if (stream->read_thread)
- {
WakeConditionVariable(&stream->read_cv);WaitForSingleObject(stream->read_thread, INFINITE);CloseHandle(stream->read_thread);stream->read_thread = NULL;- }
- stream_flush_samples(stream);
+}
+static HRESULT stream_open(struct stream *stream, struct async_reader *reader, WORD number) +{
- if (stream->read_thread)
return S_OK;
We just created the stream, so this can't be true.