From ff1acefb2115252cb27f0d0dc6219a527e258049 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 10 Nov 2008 15:07:01 +0100 Subject: decoder: removed plugin method try_decode() Instead of having a seprate try_decode() method, let the stream_decode() and file_decode() methods decide whether they are able to decode the song. --- src/decoder_api.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index ab480599..503ba118 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -60,12 +60,6 @@ struct decoder_plugin { */ void (*finish)(void); - /** - * returns true if the input stream is decodable by the - * decoder plugin, false if not - */ - bool (*try_decode)(struct input_stream *); - /** * this will be used to decode InputStreams, and is * recommended for files and networked (HTTP) connections. -- cgit v1.2.3