diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-04-28 22:03:03 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-04-28 22:03:03 +0000 |
commit | 3bb37d245783972277f94a8d33f5e6c99e567df9 (patch) | |
tree | 66896624e6109272a6e29b65b042e8e6529b3d64 /src/xine-engine/load_plugins.c | |
parent | 62f4297127f82c1e9fe4331f4f98b80f0ffea911 (diff) | |
download | xine-lib-3bb37d245783972277f94a8d33f5e6c99e567df9.tar.gz xine-lib-3bb37d245783972277f94a8d33f5e6c99e567df9.tar.bz2 |
fixed nasty bug in init_video_out_plugin
CVS patchset: 41
CVS date: 2001/04/28 22:03:03
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index bf40d3115..124c377b8 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.13 2001/04/28 21:23:04 guenter Exp $ + * $Id: load_plugins.c,v 1.14 2001/04/28 22:03:03 guenter Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -178,7 +178,7 @@ void load_input_plugins (xine_t *this, this->num_input_plugins++; } else { - printf ("load_plugins: %s is no valid input plugin (lacks init_input_plugin() function)\n"); + printf ("load_plugins: %s is no valid input plugin (lacks init_input_plugin() function)\n", str); } if(this->num_input_plugins > INPUT_PLUGIN_MAX) { @@ -429,14 +429,14 @@ vo_driver_t *xine_load_video_output_plugin(config_values_t *config, str, dlerror()); return NULL; } else { - void *(*initplug) (config_values_t *, void *); - vo_info_t* (*getinfo) (); + vo_info_t* (*getinfo) (void); vo_info_t *vo_info; if ((getinfo = dlsym(plugin, "get_video_out_plugin_info")) != NULL) { vo_info = getinfo(); if (!strcmp(id, vo_info->id)) { + void *(*initplug) (config_values_t *, void *); if((initplug = dlsym(plugin, "init_video_out_plugin")) != NULL) { |