* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.119 2003/05/05 16:09:36 gbazin Exp $
+ * $Id: modules.c,v 1.130 2003/08/23 22:49:50 fenrir Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
# undef HAVE_DYNAMIC_PLUGINS
#endif
-#include "error.h"
+#include "vlc_error.h"
-#include "interface.h"
+#include "vlc_interface.h"
#include "vlc_playlist.h"
#include "intf_eject.h"
#include "input_ext-intf.h"
#include "input_ext-dec.h"
#include "input_ext-plugins.h"
+#include "ninput.h"
-#include "video.h"
+#include "vlc_video.h"
#include "video_output.h"
#include "vout_synchro.h"
#include "aout_internal.h"
#include "stream_output.h"
+/*#include "announce.h"*/
+#include "osd.h"
#include "iso_lang.h"
+#include "charset.h"
+
+#include "vlc_block.h"
#if defined( UNDER_CE )
# define MYCHAR wchar_t
}
/* Special case: test if we requested a particular intf plugin */
- if( p_module->psz_program
+ if( !i_shortcuts && p_module->psz_program
&& !strcmp( p_module->psz_program,
p_this->p_vlc->psz_object_name ) )
{
}
/* Free plugin-path */
- free( path[ sizeof(path)/sizeof(char*) - 2 ] );
+ if( path[ sizeof(path)/sizeof(char*) - 2 ] )
+ free( path[ sizeof(path)/sizeof(char*) - 2 ] );
path[ sizeof(path)/sizeof(char*) - 2 ] = NULL;
}