diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-04-19 01:54:11 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-04-19 01:54:11 +0200 |
commit | 95973431372272b749762591cd4b82fe7e587a84 (patch) | |
tree | ca727d5a952c9b00c717274bc632c1690e7bb98c /src/xine-engine/load_plugins.c | |
parent | dd702a3abc16986a2bbc3d3429fce1f621f94c0d (diff) | |
download | xine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.gz xine-lib-95973431372272b749762591cd4b82fe7e587a84.tar.bz2 |
Replace xine_xcalloc usage with calloc, for the revisions transplanted from 1.2 series.
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 b0557a4c7..b8471e907 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -945,7 +945,7 @@ static void load_plugin_list(FILE *fp, xine_sarray_t *plugins) { file = xine_xmalloc(sizeof(plugin_file_t)); node->file = file; file->filename = strdup(line+1); - node->info = xine_xcalloc(2, sizeof(plugin_info_t)); + node->info = calloc(2, sizeof(plugin_info_t)); node->info[1].type = PLUGIN_NONE; decoder_info = NULL; vo_info = NULL; @@ -1029,7 +1029,7 @@ static void load_plugin_list(FILE *fp, xine_sarray_t *plugins) { for( s = value, i = 0; s && sscanf(s," %lu",&lu) > 0; i++ ) { s = strchr(s+1, ' '); } - decoder_info->supported_types = xine_xcalloc((i+1), sizeof(uint32_t)); + decoder_info->supported_types = calloc((i+1), sizeof(uint32_t)); for( s = value, i = 0; s && sscanf(s," %lu",&lu) > 0; i++ ) { decoder_info->supported_types[i] = lu; s = strchr(s+1, ' '); |