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:
parent
9245bd0c69
commit
a72c7a7b18
@ -444,8 +444,6 @@ faad_stream_decode(struct decoder *mpd_decoder, struct input_stream *is)
|
|||||||
cmd = decoder_data(mpd_decoder, is, decoded,
|
cmd = decoder_data(mpd_decoder, is, decoded,
|
||||||
decoded_length, file_time,
|
decoded_length, file_time,
|
||||||
bit_rate, NULL);
|
bit_rate, NULL);
|
||||||
if (cmd == DECODE_COMMAND_SEEK)
|
|
||||||
decoder_seek_error(mpd_decoder);
|
|
||||||
} while (cmd != DECODE_COMMAND_STOP);
|
} while (cmd != DECODE_COMMAND_STOP);
|
||||||
|
|
||||||
faacDecClose(decoder);
|
faacDecClose(decoder);
|
||||||
|
Loading…
Reference in New Issue
Block a user