From 78c55e24324c881541a87cd0003c60f378a43d68 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:07 +0200 Subject: added decoder_command_finished() to decoder_api.h Some decoder commands are implemented in the decoder plugins, thus they need to have an API call to signal that their current command has been finished. Let them use the new decoder_command_finished() instead of the internal dc_command_finished(). --- src/decode.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/decode.c') diff --git a/src/decode.c b/src/decode.c index 9cef281a6..ec69a2f46 100644 --- a/src/decode.c +++ b/src/decode.c @@ -48,14 +48,6 @@ static void dc_command(enum decoder_command cmd) dc_command_wait(); } -void dc_command_finished(void) -{ - assert(dc.command != DECODE_COMMAND_NONE); - - dc.command = DECODE_COMMAND_NONE; - notify_signal(&pc.notify); -} - static void stopDecode(void) { if (dc.command == DECODE_COMMAND_START || -- cgit v1.2.3