aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/FlacInput.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/FlacInput.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/decoder/FlacInput.hxx b/src/decoder/FlacInput.hxx
index 8fc69f960..2879f5dd4 100644
--- a/src/decoder/FlacInput.hxx
+++ b/src/decoder/FlacInput.hxx
@@ -22,18 +22,20 @@
#include <FLAC/stream_decoder.h>
+struct Decoder;
+
/**
* This class wraps an #input_stream in libFLAC stream decoder
* callbacks.
*/
class FlacInput {
- struct decoder *decoder;
+ Decoder *const decoder;
struct input_stream *input_stream;
public:
FlacInput(struct input_stream *_input_stream,
- struct decoder *_decoder=nullptr)
+ Decoder *_decoder=nullptr)
:decoder(_decoder), input_stream(_input_stream) {}
protected: