aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-10 15:07:01 +0100
committerMax Kellermann <max@duempel.org>2008-11-10 15:07:01 +0100
commitff1acefb2115252cb27f0d0dc6219a527e258049 (patch)
treef264bf133731dfb33d0da8bb3438351f6bed570a /src/decoder_api.h
parent10eea9d9815c37077d0d0bde98ae4daeed3d101b (diff)
downloadmpd-ff1acefb2115252cb27f0d0dc6219a527e258049.tar.gz
mpd-ff1acefb2115252cb27f0d0dc6219a527e258049.tar.xz
mpd-ff1acefb2115252cb27f0d0dc6219a527e258049.zip
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.
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r--src/decoder_api.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index ab480599b..503ba118f 100644
--- a/src/decoder_api.h
+++ b/src/decoder_api.h
@@ -61,12 +61,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.
*