player/Thread: add missing lock for StartDecoder()

Regression from commit 0772e571b7
This commit is contained in:
Max Kellermann 2017-12-22 01:12:15 +01:00
parent 3b2b5edd26
commit 8fca04f140

View File

@ -1042,6 +1042,7 @@ Player::Run() noexcept
assert(dc.pipe == nullptr || dc.pipe == pipe);
const std::lock_guard<Mutex> lock(pc.mutex);
StartDecoder(*new MusicPipe());
}