diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-09-16 08:53:22 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-09-16 08:53:22 +0300 |
commit | 637d257057286aee413933e78d176d6de6d70c9a (patch) | |
tree | 2a2a397b5043e25cf0d5a9abc18fa8e5e061331c | |
parent | 0737cd30c74934361ae64d3a004a67d3ffe85721 (diff) | |
download | xine-lib-637d257057286aee413933e78d176d6de6d70c9a.tar.gz xine-lib-637d257057286aee413933e78d176d6de6d70c9a.tar.bz2 |
minor optimization
-rw-r--r-- | src/libmusepack/xine_musepack_decoder.c | 8 |
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 */ |