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.
This commit is contained in:
Max Kellermann 2009-02-17 23:20:16 +01:00
parent 9245bd0c69
commit a72c7a7b18

View File

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