summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/combined/flac_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/combined/flac_decoder.c b/src/combined/flac_decoder.c
index 0b2250678..1572fd2be 100644
--- a/src/combined/flac_decoder.c
+++ b/src/combined/flac_decoder.c
@@ -260,12 +260,12 @@ flac_decode_data (audio_decoder_t *this_gen, buf_element_t *buf)
if (!this->output_open)
{
- const int bits = this->bits_per_sample;
+ const int bits = bits_per_sample;
this->output_open = (this->stream->audio_out->open) (
this->stream->audio_out,
this->stream,
bits > 16 ? 16 : bits,
- this->sample_rate,
+ sample_rate,
mode);
}
this->buf_pos = 0;