aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderAPI.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderAPI.cxx')
-rw-r--r--src/DecoderAPI.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DecoderAPI.cxx b/src/DecoderAPI.cxx
index 68ccd524c..71c3d0497 100644
--- a/src/DecoderAPI.cxx
+++ b/src/DecoderAPI.cxx
@@ -178,11 +178,11 @@ decoder_command_finished(struct decoder *decoder)
/* delete frames from the old song position */
if (decoder->chunk != NULL) {
- music_buffer_return(dc->buffer, decoder->chunk);
+ dc->buffer->Return(decoder->chunk);
decoder->chunk = NULL;
}
- dc->pipe->Clear(dc->buffer);
+ dc->pipe->Clear(*dc->buffer);
decoder->timestamp = dc->seek_where;
}