diff options
author | Max Kellermann <max@duempel.org> | 2008-10-29 17:28:47 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-29 17:28:47 +0100 |
commit | be90199c5ace71eb3411294159fec6adcc0d4404 (patch) | |
tree | aac2bed6180a800b9270427a1242ba356aed8ff3 /src/decoder/flac_plugin.c | |
parent | d6c4441c785d5ae41feba865727fd7ecdfbad361 (diff) | |
download | mpd-be90199c5ace71eb3411294159fec6adcc0d4404.tar.gz mpd-be90199c5ace71eb3411294159fec6adcc0d4404.tar.xz mpd-be90199c5ace71eb3411294159fec6adcc0d4404.zip |
decoder_api: removed decoder_clear()
Call ob_clear() in decoder_command_finished() instead of implementing
that call in every decoder plugin.
Diffstat (limited to 'src/decoder/flac_plugin.c')
-rw-r--r-- | src/decoder/flac_plugin.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c index 90313f8f6..dd933ce6b 100644 --- a/src/decoder/flac_plugin.c +++ b/src/decoder/flac_plugin.c @@ -349,7 +349,6 @@ flac_decode_internal(struct decoder * decoder, struct input_stream *inStream, FLAC__uint64 sampleToSeek = decoder_seek_where(decoder) * data.audio_format.sample_rate + 0.5; if (flac_seek_absolute(flacDec, sampleToSeek)) { - decoder_clear(decoder); data.time = ((float)sampleToSeek) / data.audio_format.sample_rate; data.position = 0; |