From 9802e74859219ae151cddb238f71016e3a2ef1ef Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 6 Nov 2013 23:18:55 +0100 Subject: DecoderInternal: lock DecoderControl in _flush_chunk() Must hold the Mutex to signal the Cond object safely. --- src/DecoderInternal.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/DecoderInternal.hxx') diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx index ffe02ed7f..46069a561 100644 --- a/src/DecoderInternal.hxx +++ b/src/DecoderInternal.hxx @@ -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); -- cgit v1.2.3