diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-22 14:29:40 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-22 14:29:40 +0000 |
commit | 0e7d3d993b4cc1db5e498fa6779386a771f08c97 (patch) | |
tree | 558e87c5ed984fe6fb4375d20499636a0c796cbc /src/input/input_vcd.c | |
parent | a3cdd89faa5fd449b807d2d6a9c818649032003b (diff) | |
download | xine-lib-0e7d3d993b4cc1db5e498fa6779386a771f08c97.tar.gz xine-lib-0e7d3d993b4cc1db5e498fa6779386a771f08c97.tar.bz2 |
API review part I
- bring our beloved xine_t * back (no more const there)
- remove const on some input plugin functions
where the data changes with media (dvd, ...) changes
and is therefore not const
CVS patchset: 2740
CVS date: 2002/09/22 14:29:40
Diffstat (limited to 'src/input/input_vcd.c')
-rw-r--r-- | src/input/input_vcd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 7db42ae72..a246cf8b7 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.51 2002/09/06 18:13:11 mroi Exp $ + * $Id: input_vcd.c,v 1.52 2002/09/22 14:29:40 mroi Exp $ * */ @@ -974,7 +974,7 @@ static char *vcd_plugin_get_identifier (input_plugin_t *this_gen) { /* * */ -static const xine_mrl_t *const *vcd_plugin_get_dir (input_plugin_t *this_gen, +static xine_mrl_t **vcd_plugin_get_dir (input_plugin_t *this_gen, const char *filename, int *nEntries) { vcd_input_plugin_t *this = (vcd_input_plugin_t *) this_gen; @@ -1054,13 +1054,13 @@ static const xine_mrl_t *const *vcd_plugin_get_dir (input_plugin_t *this_gen, this->mrls[*nEntries] = NULL; - return (const xine_mrl_t *const *)this->mrls; + return this->mrls; } /* * */ -static const char *const *vcd_plugin_get_autoplay_list (input_plugin_t *this_gen, +static char **vcd_plugin_get_autoplay_list (input_plugin_t *this_gen, int *nFiles) { vcd_input_plugin_t *this = (vcd_input_plugin_t *) this_gen; @@ -1101,7 +1101,7 @@ static const char *const *vcd_plugin_get_autoplay_list (input_plugin_t *this_gen this->filelist[i - 1] = (char *) realloc(this->filelist[i-1], sizeof(char *)); this->filelist[i - 1] = NULL; - return (const char *const *)this->filelist; + return this->filelist; } /* |