aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderInternal.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 21:38:46 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 21:38:46 +0100
commite9b71a0d2846321dcf3f985b9f6332d051374edd (patch)
treecc916958e67731f68e496459383a913e28509bda /src/DecoderInternal.cxx
parentefbfe66f21a8865454bc7a9e32305c84c09ba4be (diff)
downloadmpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.tar.gz
mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.tar.xz
mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.zip
MusicChunk: move functions to methods
Diffstat (limited to '')
-rw-r--r--src/DecoderInternal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DecoderInternal.cxx b/src/DecoderInternal.cxx
index 00749b899..d68f7856e 100644
--- a/src/DecoderInternal.cxx
+++ b/src/DecoderInternal.cxx
@@ -88,7 +88,7 @@ decoder_flush_chunk(struct decoder *decoder)
assert(decoder != NULL);
assert(decoder->chunk != NULL);
- if (music_chunk_is_empty(decoder->chunk))
+ if (decoder->chunk->IsEmpty())
music_buffer_return(dc->buffer, decoder->chunk);
else
music_pipe_push(dc->pipe, decoder->chunk);