From 815f54528fd0fdb90138112d3fb494200a35ff94 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 13 Nov 2004 17:01:36 +0000 Subject: sanity checking CVS patchset: 7119 CVS date: 2004/11/13 17:01:36 --- src/xine-engine/load_plugins.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 07b09095c..480d8326e 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.187 2004/10/24 00:59:37 athp Exp $ + * $Id: load_plugins.c,v 1.188 2004/11/13 17:01:36 miguelfreitas Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -1572,12 +1572,14 @@ xine_audio_port_t *xine_new_framegrab_audio_port (xine_t *this) { void xine_close_audio_driver (xine_t *this, xine_audio_port_t *ao_port) { - ao_port->exit(ao_port); + if( ao_port ) + ao_port->exit(ao_port); } void xine_close_video_driver (xine_t *this, xine_video_port_t *vo_port) { - vo_port->exit(vo_port); + if( vo_port ) + vo_port->exit(vo_port); } -- cgit v1.2.3