From a0272c2d615e4579e8efb767cc6c28302b2c92cd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2008 07:14:11 +0200 Subject: notify: added notify_deinit() Destroy the mutex when it is not used anymore. --- src/decoder_control.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/decoder_control.h') diff --git a/src/decoder_control.h b/src/decoder_control.h index 8c19d3d50..af777fb31 100644 --- a/src/decoder_control.h +++ b/src/decoder_control.h @@ -58,6 +58,8 @@ extern struct decoder_control dc; void dc_init(void); +void dc_deinit(void); + static inline int decoder_is_idle(void) { return dc.state == DECODE_STATE_STOP && -- cgit v1.2.3