summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libmusepack/xine_musepack_decoder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmusepack/xine_musepack_decoder.c b/src/libmusepack/xine_musepack_decoder.c
index 41b90b080..52973c751 100644
--- a/src/libmusepack/xine_musepack_decoder.c
+++ b/src/libmusepack/xine_musepack_decoder.c
@@ -339,11 +339,11 @@ static void mpc_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
this->bits_per_sample,
this->sample_rate,
_x_ao_channels2mode(this->channels));
- }
- /* if the audio still isn't open, do not go any further with the decode */
- if (!this->output_open)
- return;
+ /* if the audio still isn't open, do not go any further with the decode */
+ if (!this->output_open)
+ return;
+ }
/* If we run out of space in our internal buffer we discard what's
* already been read */