aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_control.c')
-rw-r--r--src/decoder_control.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c
index a0e3b6143..58c4e75ee 100644
--- a/src/decoder_control.c
+++ b/src/decoder_control.c
@@ -28,6 +28,11 @@ void dc_init(void)
dc.error = DECODE_ERROR_NOERROR;
}
+void dc_deinit(void)
+{
+ notify_deinit(&dc.notify);
+}
+
void dc_command_wait(Notify *notify)
{
while (dc.command != DECODE_COMMAND_NONE) {