summaryrefslogtreecommitdiff
path: root/src/decoder/plugins/MpcdecDecoderPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/plugins/MpcdecDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/MpcdecDecoderPlugin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder/plugins/MpcdecDecoderPlugin.cxx b/src/decoder/plugins/MpcdecDecoderPlugin.cxx
index bbf850a16..2acb1968d 100644
--- a/src/decoder/plugins/MpcdecDecoderPlugin.cxx
+++ b/src/decoder/plugins/MpcdecDecoderPlugin.cxx
@@ -174,9 +174,8 @@ mpcdec_decode(DecoderClient &client, InputStream &is)
decoder_replay_gain(client, &rgi);
- decoder_initialized(client, audio_format,
- is.IsSeekable(),
- SongTime::FromS(mpc_streaminfo_get_length(&info)));
+ client.Ready(audio_format, is.IsSeekable(),
+ SongTime::FromS(mpc_streaminfo_get_length(&info)));
DecoderCommand cmd = DecoderCommand::NONE;
do {