diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-03-10 21:43:30 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-03-10 21:43:30 +0000 |
commit | 509fe3b35f8b94c5f82a506fa471adb54f5e4dbf (patch) | |
tree | 0f81b4ed470694bd5ec6ad7969beaaeb7b902f7a | |
parent | 596737e7e5b05c099c2c7e39652dc741d11f0908 (diff) | |
download | xine-lib-509fe3b35f8b94c5f82a506fa471adb54f5e4dbf.tar.gz xine-lib-509fe3b35f8b94c5f82a506fa471adb54f5e4dbf.tar.bz2 |
fix for some segfault on exit
CVS patchset: 1550
CVS date: 2002/03/10 21:43:30
-rw-r--r-- | src/xine-engine/audio_decoder.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index b9b944a6a..f329db056 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.62 2002/03/05 22:00:25 jcdutton Exp $ + * $Id: audio_decoder.c,v 1.63 2002/03/10 21:43:30 miguelfreitas Exp $ * * * functions that implement audio decoding @@ -301,9 +301,11 @@ void audio_decoder_shutdown (xine_t *this) { if(this->audio_out) { this->audio_out->exit (this->audio_out); + this->audio_out = NULL; } if (this->audio_fifo) { this->audio_fifo->dispose (this->audio_fifo); + this->audio_fifo = NULL; } } |