summaryrefslogtreecommitdiff
path: root/src/xine-engine/load_plugins.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-07-10 21:07:55 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-07-10 21:07:55 +0000
commit4cc9fd313df701f722a81ad4bb551155415ce5cc (patch)
treecafd04a6191675accbc2d168192eee7169a6056b /src/xine-engine/load_plugins.c
parent9125c00c6d1242b911cbf68cdd25114cd9972c8f (diff)
downloadxine-lib-4cc9fd313df701f722a81ad4bb551155415ce5cc.tar.gz
xine-lib-4cc9fd313df701f722a81ad4bb551155415ce5cc.tar.bz2
Fixed get_dir in input plugins. Fixed a strange header inclusion bug
in libw32dll/wine. CVS patchset: 264 CVS date: 2001/07/10 21:07:55
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r--src/xine-engine/load_plugins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c
index a7b1aa924..b63100e11 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.28 2001/07/04 17:10:24 uid32519 Exp $
+ * $Id: load_plugins.c,v 1.29 2001/07/10 21:07:56 f1rmb Exp $
*
*
* Load input/demux/audio_out/video_out/codec plugins
@@ -217,7 +217,7 @@ static char **_xine_get_featured_input_plugin_ids(xine_t *this, int feature) {
if(!this->num_input_plugins)
return NULL;
- plugin_ids = xmalloc (this->num_input_plugins * sizeof (char *));
+ plugin_ids = (char **) xmalloc (this->num_input_plugins * sizeof (char *));
for(i = 0; i < this->num_input_plugins; i++) {
@@ -402,7 +402,7 @@ char **xine_list_video_output_plugins (int visual_type) {
int i,j;
int plugin_prios[50];
- plugin_ids = xmalloc (50 * sizeof (char *));
+ plugin_ids = (char **) xmalloc (50 * sizeof (char *));
plugin_ids[0] = NULL;
dir = opendir (XINE_PLUGINDIR);
@@ -570,7 +570,7 @@ char **xine_list_audio_output_plugins(void) {
int num_plugins = 0;
DIR *dir;
- plugin_ids = xmalloc (50 * sizeof (char *));
+ plugin_ids = (char **) xmalloc (50 * sizeof (char *));
plugin_ids[0] = NULL;
dir = opendir (XINE_PLUGINDIR);