diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 21:38:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 21:38:46 +0100 |
commit | e9b71a0d2846321dcf3f985b9f6332d051374edd (patch) | |
tree | cc916958e67731f68e496459383a913e28509bda /src/DecoderInternal.cxx | |
parent | efbfe66f21a8865454bc7a9e32305c84c09ba4be (diff) | |
download | mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.tar.gz mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.tar.xz mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.zip |
MusicChunk: move functions to methods
Diffstat (limited to '')
-rw-r--r-- | src/DecoderInternal.cxx | 2 |
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); |