DecoderInternal: lock DecoderControl in _flush_chunk()
Must hold the Mutex to signal the Cond object safely.
This commit is contained in:
@@ -101,5 +101,7 @@ decoder_flush_chunk(Decoder &decoder)
|
||||
|
||||
decoder.chunk = nullptr;
|
||||
|
||||
dc.Lock();
|
||||
dc.client_cond.signal();
|
||||
dc.Unlock();
|
||||
}
|
||||
|
Reference in New Issue
Block a user