diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2003-11-02 14:12:52 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2003-11-02 14:12:52 +0000 |
commit | 343ab585e64376b933bd396f01b2009285c30e87 (patch) | |
tree | 5a9aa910b9faecbd3acd4712c801f1b1dc27fedb /src/xine-engine/load_plugins.c | |
parent | e048d699a94fd42068fd706b56d628b55f4b7b72 (diff) | |
download | xine-lib-343ab585e64376b933bd396f01b2009285c30e87.tar.gz xine-lib-343ab585e64376b933bd396f01b2009285c30e87.tar.bz2 |
Fix SEGFAULT beside error if no plugin loaded yet.
Fix one "segfault" of win32 xineui.
Next piece of patch for compiling xine under MSVC.
CVS patchset: 5676
CVS date: 2003/11/02 14:12:52
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index f4b6fff94..2a263c297 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.159 2003/10/31 22:08:37 valtri Exp $ + * $Id: load_plugins.c,v 1.160 2003/11/02 14:12:52 valtri Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -490,7 +490,7 @@ static void _load_required_plugins(xine_t *this, xine_list_t *list) { if( !node->plugin_class ) { xine_list_delete_current (list); - node = list->cur->content; + node = list->cur ? list->cur->content : NULL; } else node = xine_list_next_content (list); |