aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-12 01:28:37 +0200
committerMax Kellermann <max@duempel.org>2014-07-12 01:28:37 +0200
commit4c7b0b935b5391ae771f2e9385ad312a1d811a4c (patch)
tree6ffed9b9f0d6456f222182b270aca5370acd400c /src/decoder
parentc400876df14af93c8ca3740297c79ea2cb8b0988 (diff)
downloadmpd-4c7b0b935b5391ae771f2e9385ad312a1d811a4c.tar.gz
mpd-4c7b0b935b5391ae771f2e9385ad312a1d811a4c.tar.xz
mpd-4c7b0b935b5391ae771f2e9385ad312a1d811a4c.zip
DecoderBuffer: remove unused method _is_empty()
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/DecoderBuffer.cxx6
-rw-r--r--src/decoder/DecoderBuffer.hxx4
2 files changed, 0 insertions, 10 deletions
diff --git a/src/decoder/DecoderBuffer.cxx b/src/decoder/DecoderBuffer.cxx
index 258edfab8..9eb468b67 100644
--- a/src/decoder/DecoderBuffer.cxx
+++ b/src/decoder/DecoderBuffer.cxx
@@ -76,12 +76,6 @@ decoder_buffer_get_stream(const DecoderBuffer *buffer)
}
bool
-decoder_buffer_is_empty(const DecoderBuffer *buffer)
-{
- return buffer->consumed == buffer->length;
-}
-
-bool
decoder_buffer_is_full(const DecoderBuffer *buffer)
{
return buffer->consumed == 0 && buffer->length == buffer->size;
diff --git a/src/decoder/DecoderBuffer.hxx b/src/decoder/DecoderBuffer.hxx
index f295eb0b5..0e4b1d5ce 100644
--- a/src/decoder/DecoderBuffer.hxx
+++ b/src/decoder/DecoderBuffer.hxx
@@ -60,10 +60,6 @@ decoder_buffer_get_stream(const DecoderBuffer *buffer);
gcc_pure
bool
-decoder_buffer_is_empty(const DecoderBuffer *buffer);
-
-gcc_pure
-bool
decoder_buffer_is_full(const DecoderBuffer *buffer);
void