diff options
Diffstat (limited to 'src/lib/util/flac.cpp')
-rw-r--r-- | src/lib/util/flac.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/util/flac.cpp b/src/lib/util/flac.cpp index c66cc281931..fedcd6cd73e 100644 --- a/src/lib/util/flac.cpp +++ b/src/lib/util/flac.cpp @@ -277,12 +277,18 @@ FLAC__StreamEncoderWriteStatus flac_encoder::write_callback(const FLAC__byte buf flac_decoder::flac_decoder() : m_decoder(FLAC__stream_decoder_new()), - m_file(nullptr), - m_compressed_offset(0), - m_compressed_start(nullptr), - m_compressed_length(0), - m_compressed2_start(nullptr), - m_compressed2_length(0) + m_file(nullptr), + m_sample_rate(0), + m_channels(0), + m_bits_per_sample(0), + m_compressed_offset(0), + m_compressed_start(nullptr), + m_compressed_length(0), + m_compressed2_start(nullptr), + m_compressed2_length(0), + m_uncompressed_offset(0), + m_uncompressed_length(0), + m_uncompressed_swap(false) { } |