aboutsummaryrefslogtreecommitdiff
path: root/src/DecoderInternal.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r--src/DecoderInternal.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx
index 69c8c092..ae50a62e 100644
--- a/src/DecoderInternal.hxx
+++ b/src/DecoderInternal.hxx
@@ -90,7 +90,11 @@ struct decoder {
seeking(false),
song_tag(_tag), stream_tag(nullptr), decoder_tag(nullptr),
chunk(nullptr),
- replay_gain_serial(0) {}
+ replay_gain_serial(0) {
+ pcm_convert_init(&conv_state);
+ }
+
+ ~decoder();
};
/**