diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-11-13 17:01:36 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-11-13 17:01:36 +0000 |
commit | 815f54528fd0fdb90138112d3fb494200a35ff94 (patch) | |
tree | 551fd447aa71e7df98abe500c3f3ba67949144a2 | |
parent | f13ecbe047e53228e18be442ef00a90215a0cca6 (diff) | |
download | xine-lib-815f54528fd0fdb90138112d3fb494200a35ff94.tar.gz xine-lib-815f54528fd0fdb90138112d3fb494200a35ff94.tar.bz2 |
sanity checking
CVS patchset: 7119
CVS date: 2004/11/13 17:01:36
-rw-r--r-- | src/xine-engine/load_plugins.c | 8 |
1 files 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); } |