From b1ca127fe13f65dea1eb64b20925336c0b7b8bf7 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Mon, 11 Jun 2001 03:14:29 +0000 Subject: bugfixes for playing without sound-driver CVS patchset: 163 CVS date: 2001/06/11 03:14:29 --- src/xine-engine/audio_decoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xine-engine') diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index b4b4fdae2..0d7af2614 100644 --- a/src/xine-engine/audio_decoder.c +++ b/src/xine-engine/audio_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: audio_decoder.c,v 1.15 2001/06/09 17:07:22 guenter Exp $ + * $Id: audio_decoder.c,v 1.16 2001/06/11 03:14:29 heikos Exp $ * * * functions that implement audio decoding @@ -184,6 +184,8 @@ void *audio_decoder_loop (void *this_gen) { } void audio_decoder_init (xine_t *this) { + if (this->audio_out == NULL) + return; this->audio_fifo = fifo_buffer_new (1500, 4096); -- cgit v1.2.3