diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 22:02:52 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 22:02:52 +0100 |
commit | 7267558ba1cba9338c78b41d11e2eadef6bb515b (patch) | |
tree | 3e351410fab0fbfeb367979d6af8dadace02145a /src/DecoderInternal.hxx | |
parent | ac6803e7b73b96573c7b6823e03bc153d1f63b8a (diff) | |
download | mpd-7267558ba1cba9338c78b41d11e2eadef6bb515b.tar.gz mpd-7267558ba1cba9338c78b41d11e2eadef6bb515b.tar.xz mpd-7267558ba1cba9338c78b41d11e2eadef6bb515b.zip |
DecoderThread: move code to destructor
Diffstat (limited to '')
-rw-r--r-- | src/DecoderInternal.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx index 69c8c0920..ae50a62e2 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(); }; /** |