Commit 4c7b0b93 authored by Max Kellermann's avatar Max Kellermann

DecoderBuffer: remove unused method _is_empty()

parent c400876d
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment