diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-05 20:19:48 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-05 20:19:48 +0000 |
commit | c35a3e9d5068667992c1b104195de59721e23786 (patch) | |
tree | e6f5aae17dc0b565dd99825763438980d353433f /src/input/input_vcd.c | |
parent | 0a4b9224218ce85bbd13c7f5eefbfd8ddbbee4df (diff) | |
download | xine-lib-c35a3e9d5068667992c1b104195de59721e23786.tar.gz xine-lib-c35a3e9d5068667992c1b104195de59721e23786.tar.bz2 |
use xine_mrl_t instead of mrl_t in input plugins, implement more configfile functions
CVS patchset: 2615
CVS date: 2002/09/05 20:19:48
Diffstat (limited to 'src/input/input_vcd.c')
-rw-r--r-- | src/input/input_vcd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 61d368835..68138e49d 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.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: input_vcd.c,v 1.47 2002/09/04 23:31:08 guenter Exp $ + * $Id: input_vcd.c,v 1.48 2002/09/05 20:19:49 guenter Exp $ * */ @@ -128,7 +128,7 @@ typedef struct { char *filelist[100]; int mrls_allocated_entries; - mrl_t **mrls; + xine_mrl_t **mrls; #if defined(__sun) int controller_type; @@ -973,7 +973,7 @@ static char *vcd_plugin_get_identifier (input_plugin_t *this_gen) { /* * */ -static mrl_t **vcd_plugin_get_dir (input_plugin_t *this_gen, +static xine_mrl_t **vcd_plugin_get_dir (input_plugin_t *this_gen, char *filename, int *nEntries) { vcd_input_plugin_t *this = (vcd_input_plugin_t *) this_gen; @@ -1017,11 +1017,11 @@ static mrl_t **vcd_plugin_get_dir (input_plugin_t *this_gen, if((i-1) >= this->mrls_allocated_entries) { ++this->mrls_allocated_entries; /* note: 1 extra pointer for terminating NULL */ - this->mrls = realloc(this->mrls, (this->mrls_allocated_entries+1) * sizeof(mrl_t*)); - this->mrls[(i-1)] = (mrl_t *) xine_xmalloc(sizeof(mrl_t)); + this->mrls = realloc(this->mrls, (this->mrls_allocated_entries+1) * sizeof(xine_mrl_t*)); + this->mrls[(i-1)] = (xine_mrl_t *) xine_xmalloc(sizeof(xine_mrl_t)); } else { - memset(this->mrls[(i-1)], 0, sizeof(mrl_t)); + memset(this->mrls[(i-1)], 0, sizeof(xine_mrl_t)); } if(this->mrls[(i-1)]->mrl) { @@ -1174,7 +1174,7 @@ void *init_input_plugin (xine_t *xine, void *data) { _("path to your local vcd device file"), NULL, 10, device_change_cb, (void *)this); - this->mrls = (mrl_t **) xine_xmalloc(sizeof(mrl_t*)); + this->mrls = (xine_mrl_t **) xine_xmalloc(sizeof(xine_mrl_t*)); this->mrls_allocated_entries = 0; this->fd = -1; |