From 637d257057286aee413933e78d176d6de6d70c9a Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Fri, 16 Sep 2011 08:53:22 +0300 Subject: minor optimization --- src/libmusepack/xine_musepack_decoder.c | 8 ++++---- 1 file 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 */ -- cgit v1.2.3