diff options
Diffstat (limited to 'src/input/input_vcd.c')
-rw-r--r-- | src/input/input_vcd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 20bf8c845..3f31c7c9d 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.c @@ -1006,8 +1006,7 @@ static xine_mrl_t **vcd_class_get_dir (input_class_t *this_gen, const char *file memset(this->mrls[(i-1)], 0, sizeof(xine_mrl_t)); } - asprintf(&(this->mrls[i-1]->mrl), "vcdo:/%d", i); - + this->mrls[i-1]->mrl = _x_asprintf("vcdo:/%d", i); this->mrls[i-1]->type = mrl_vcd; /* hack */ @@ -1061,7 +1060,7 @@ static char ** vcd_class_get_autoplay_list (input_class_t *this_gen, int *num_fi /* FIXME: check if track 0 contains valid data */ for (i = 1; i < this->total_tracks; i++) - asprintf(&this->filelist[i-1], "vcdo:/%d", i); + this->filelist[i-1] = _x_asprintf("vcdo:/%d", i); /* printf ("%d tracks\n", this->total_tracks); */ |