aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mpc_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c
index 500e57172..e8671b7fa 100644
--- a/src/inputPlugins/mpc_plugin.c
+++ b/src/inputPlugins/mpc_plugin.c
@@ -200,6 +200,7 @@ static int mpc_decode(OutputBuffer * cb, DecoderControl * dc,
samplePos = dc->seekWhere * dc->audioFormat.sampleRate;
if (mpc_decoder_seek_sample(&decoder, samplePos)) {
clearOutputBuffer(cb);
+ s16 = (mpd_sint16 *) chunk;
chunkpos = 0;
} else
dc->seekError = 1;