aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-17 23:20:16 +0100
committerMax Kellermann <max@duempel.org>2009-02-17 23:20:16 +0100
commita72c7a7b18589fdbdab1d5d8e8045069b0774a5e (patch)
tree06c5d901a1928f2d01c1ff70ea2820cdb5144588 /src/decoder
parent9245bd0c69667f7622d70e87f05d9e9c5a90f88d (diff)
downloadmpd-a72c7a7b18589fdbdab1d5d8e8045069b0774a5e.tar.gz
mpd-a72c7a7b18589fdbdab1d5d8e8045069b0774a5e.tar.xz
mpd-a72c7a7b18589fdbdab1d5d8e8045069b0774a5e.zip
faad: removed DECODE_COMMAND_SEEK check
The MPD core will never send a SEEK command to a decoder which has declared to be not seekable.
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/faad_plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/decoder/faad_plugin.c b/src/decoder/faad_plugin.c
index c04b9292c..5c3d0e6df 100644
--- a/src/decoder/faad_plugin.c
+++ b/src/decoder/faad_plugin.c
@@ -444,8 +444,6 @@ faad_stream_decode(struct decoder *mpd_decoder, struct input_stream *is)
cmd = decoder_data(mpd_decoder, is, decoded,
decoded_length, file_time,
bit_rate, NULL);
- if (cmd == DECODE_COMMAND_SEEK)
- decoder_seek_error(mpd_decoder);
} while (cmd != DECODE_COMMAND_STOP);
faacDecClose(decoder);