DecoderBuffer: remove unused method _is_empty()

This commit is contained in:
Max Kellermann 2014-07-12 01:28:37 +02:00
parent c400876df1
commit 4c7b0b935b
2 changed files with 0 additions and 10 deletions

View File

@ -75,12 +75,6 @@ decoder_buffer_get_stream(const DecoderBuffer *buffer)
return *buffer->is; return *buffer->is;
} }
bool
decoder_buffer_is_empty(const DecoderBuffer *buffer)
{
return buffer->consumed == buffer->length;
}
bool bool
decoder_buffer_is_full(const DecoderBuffer *buffer) decoder_buffer_is_full(const DecoderBuffer *buffer)
{ {

View File

@ -58,10 +58,6 @@ gcc_pure
const InputStream & const InputStream &
decoder_buffer_get_stream(const DecoderBuffer *buffer); decoder_buffer_get_stream(const DecoderBuffer *buffer);
gcc_pure
bool
decoder_buffer_is_empty(const DecoderBuffer *buffer);
gcc_pure gcc_pure
bool bool
decoder_buffer_is_full(const DecoderBuffer *buffer); decoder_buffer_is_full(const DecoderBuffer *buffer);