From 0d45870cea6836cd48e6953f4e67756b2502e22c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:05 +0200 Subject: added decoder_clear() and decoder_flush() We are now beginning to remove direct structure accesses from the decoder plugins. decoder_clear() and decoder_flush() mask two very common buffer functions. --- src/inputPlugins/mod_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputPlugins/mod_plugin.c') diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c index 792cb0c87..930b041e9 100644 --- a/src/inputPlugins/mod_plugin.c +++ b/src/inputPlugins/mod_plugin.c @@ -205,7 +205,7 @@ static int mod_decode(struct decoder * decoder, char *path) total_time, 0, NULL); } - ob_flush(); + decoder_flush(decoder); mod_close(data); -- cgit v1.2.3