aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mpc_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-29 17:28:47 +0100
committerMax Kellermann <max@duempel.org>2008-10-29 17:28:47 +0100
commitbe90199c5ace71eb3411294159fec6adcc0d4404 (patch)
treeaac2bed6180a800b9270427a1242ba356aed8ff3 /src/decoder/mpc_plugin.c
parentd6c4441c785d5ae41feba865727fd7ecdfbad361 (diff)
downloadmpd-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/mpc_plugin.c')
-rw-r--r--src/decoder/mpc_plugin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c
index 12a11de6b..de955d712 100644
--- a/src/decoder/mpc_plugin.c
+++ b/src/decoder/mpc_plugin.c
@@ -168,7 +168,6 @@ mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
samplePos = decoder_seek_where(mpd_decoder) *
audio_format.sample_rate;
if (mpc_decoder_seek_sample(&decoder, samplePos)) {
- decoder_clear(mpd_decoder);
s16 = (int16_t *) chunk;
chunkpos = 0;
decoder_command_finished(mpd_decoder);