DecoderInternal: lock DecoderControl in _flush_chunk()
Must hold the Mutex to signal the Cond object safely.
This commit is contained in:
@@ -108,6 +108,8 @@ decoder_get_chunk(Decoder &decoder);
|
||||
|
||||
/**
|
||||
* Flushes the current chunk.
|
||||
*
|
||||
* Caller must not lock the #DecoderControl object.
|
||||
*/
|
||||
void
|
||||
decoder_flush_chunk(Decoder &decoder);
|
||||
|
Reference in New Issue
Block a user