diff options
author | Max Kellermann <max@duempel.org> | 2014-07-12 00:23:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-12 00:23:22 +0200 |
commit | a7d9f248eab1af41fd5dbb31e394c07b8e059220 (patch) | |
tree | 3ae59461c9a7e25c158f4501b86918016039e334 /src/DecoderBuffer.cxx | |
parent | 06aa68938357f4a567e1f89b51a593f11fea8fee (diff) | |
download | mpd-a7d9f248eab1af41fd5dbb31e394c07b8e059220.tar.gz mpd-a7d9f248eab1af41fd5dbb31e394c07b8e059220.tar.xz mpd-a7d9f248eab1af41fd5dbb31e394c07b8e059220.zip |
DecoderBuffer: add method _get_stream()
Diffstat (limited to '')
-rw-r--r-- | src/DecoderBuffer.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DecoderBuffer.cxx b/src/DecoderBuffer.cxx index 0b326a6fd..78a2ccdc6 100644 --- a/src/DecoderBuffer.cxx +++ b/src/DecoderBuffer.cxx @@ -70,6 +70,12 @@ decoder_buffer_free(DecoderBuffer *buffer) g_free(buffer); } +const InputStream & +decoder_buffer_get_stream(const DecoderBuffer *buffer) +{ + return *buffer->is; +} + bool decoder_buffer_is_empty(const DecoderBuffer *buffer) { |