diff options
author | Max Kellermann <max@duempel.org> | 2013-01-08 01:02:06 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-08 01:02:06 +0100 |
commit | b83d069266836edfe998c9fbf75c039cdeafa6d0 (patch) | |
tree | 1cb7d7f0377574057df18b8f9491a33547535f2e /src/decoder/OggUtil.hxx | |
parent | 960b9a966450f4870a14c81170e3b625f9c13a8a (diff) | |
download | mpd-b83d069266836edfe998c9fbf75c039cdeafa6d0.tar.gz mpd-b83d069266836edfe998c9fbf75c039cdeafa6d0.tar.xz mpd-b83d069266836edfe998c9fbf75c039cdeafa6d0.zip |
decoder/OggUtil: add struct forward declarations
Diffstat (limited to 'src/decoder/OggUtil.hxx')
-rw-r--r-- | src/decoder/OggUtil.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/decoder/OggUtil.hxx b/src/decoder/OggUtil.hxx index 95bf6472f..c0be21faa 100644 --- a/src/decoder/OggUtil.hxx +++ b/src/decoder/OggUtil.hxx @@ -26,14 +26,17 @@ #include <stddef.h> +struct input_stream; +struct decoder; + /** * Feed data from the #input_stream into the #ogg_sync_state. * * @return false on error or end-of-file */ bool -OggFeed(ogg_sync_state &oy, struct decoder *decoder, - struct input_stream *input_stream, size_t size); +OggFeed(ogg_sync_state &oy, struct decoder *decoder, input_stream *is, + size_t size); /** * Feed into the #ogg_sync_state until a page gets available. Garbage @@ -43,6 +46,6 @@ OggFeed(ogg_sync_state &oy, struct decoder *decoder, */ bool OggExpectPage(ogg_sync_state &oy, ogg_page &page, - struct decoder *decoder, struct input_stream *input_stream); + decoder *decoder, input_stream *input_stream); #endif |