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.
This commit is contained in:
Max Kellermann
2008-11-02 17:02:00 +01:00
parent c9e15bc418
commit 3f6fcfd38e
2 changed files with 2 additions and 18 deletions

View File

@@ -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;