aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mod_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 17:02:00 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 17:02:00 +0100
commit3f6fcfd38ebe115d1ba77a7e5b3c1c757b806814 (patch)
treeaeb1590a45dc000b7c6a283c46b11072c6fe77e3 /src/decoder/mod_plugin.c
parentc9e15bc418d4a27305b39ccc63e631ac5e329c8b (diff)
downloadmpd-3f6fcfd38ebe115d1ba77a7e5b3c1c757b806814.tar.gz
mpd-3f6fcfd38ebe115d1ba77a7e5b3c1c757b806814.tar.xz
mpd-3f6fcfd38ebe115d1ba77a7e5b3c1c757b806814.zip
aac, mod: don't check for SEEK command
Since the aac and mod plugins have told MPD that they cannot seek, MPD will never send a SEEK command to them. Removed the SEEK comand checks from both plugins.
Diffstat (limited to 'src/decoder/mod_plugin.c')
-rw-r--r--src/decoder/mod_plugin.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/decoder/mod_plugin.c b/src/decoder/mod_plugin.c
index 3d1c8ccaa..11a59f94c 100644
--- a/src/decoder/mod_plugin.c
+++ b/src/decoder/mod_plugin.c
@@ -200,10 +200,6 @@ mod_decode(struct decoder *decoder, const char *path)
decoder_initialized(decoder, &audio_format, false, 0);
while (true) {
- if (decoder_get_command(decoder) == DECODE_COMMAND_SEEK) {
- decoder_seek_error(decoder);
- }
-
if (decoder_get_command(decoder) == DECODE_COMMAND_STOP)
break;