summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xine-engine/audio_decoder.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 8ae8d2901..b9b944a6a 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.61 2002/03/01 09:29:50 guenter Exp $
+ * $Id: audio_decoder.c,v 1.62 2002/03/05 22:00:25 jcdutton Exp $
*
*
* functions that implement audio decoding
@@ -299,10 +299,12 @@ void audio_decoder_shutdown (xine_t *this) {
pthread_join (this->audio_thread, &p);
}
- if(this->audio_out)
+ if(this->audio_out) {
this->audio_out->exit (this->audio_out);
-
- this->audio_fifo->dispose (this->audio_fifo);
+ }
+ if (this->audio_fifo) {
+ this->audio_fifo->dispose (this->audio_fifo);
+ }
}
int xine_get_audio_channel (xine_t *this) {