diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-06 13:36:18 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-06 13:36:18 +0000 |
commit | 1248f263c9bc4aa7d69e59f8be4c9baed74dc2f0 (patch) | |
tree | 91daf284cb6e3a51f8227fe83caa725ebe634c84 /src/liblpcm/xine_decoder.c | |
parent | a374a1ec32a615a35b827966d2fe0758a66b21c4 (diff) | |
download | xine-lib-1248f263c9bc4aa7d69e59f8be4c9baed74dc2f0.tar.gz xine-lib-1248f263c9bc4aa7d69e59f8be4c9baed74dc2f0.tar.bz2 |
Fix error checking for failed ao_instance->open
CVS patchset: 577
CVS date: 2001/09/06 13:36:18
Diffstat (limited to 'src/liblpcm/xine_decoder.c')
-rw-r--r-- | src/liblpcm/xine_decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c index 3f7e1c0ad..89a34fc35 100644 --- a/src/liblpcm/xine_decoder.c +++ b/src/liblpcm/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.6 2001/09/01 01:51:50 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.7 2001/09/06 13:36:18 jkeil Exp $ * * 31-8-2001 Added LPCM rate sensing. * (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk @@ -91,8 +91,8 @@ void lpcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { return; if (!this->output_open) { this->output_open = (this->audio_out->open (this->audio_out, this->bits_per_sample, - this->rate, - this->ao_cap_mode)); + this->rate, + this->ao_cap_mode) == 1); } if (!this->output_open) return; |