diff options
-rw-r--r-- | src/input/input_dvd.c | 4 | ||||
-rw-r--r-- | src/input/input_vcd.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index bc31976c7..c37cead51 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.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_dvd.c,v 1.19 2001/08/17 16:15:36 f1rmb Exp $ + * $Id: input_dvd.c,v 1.20 2001/09/01 22:47:59 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -481,7 +481,7 @@ static mrl_t **dvd_plugin_get_dir (input_plugin_t *this_gen, this->mrls[nFiles2]->type = (0 | mrl_dvd); /* determine size */ - memset(&str, 0, strlen(str)); + memset(&str, 0, sizeof(str)); sprintf (str, "/VIDEO_TS/%s", this->filelist[i]); UDFFindFile(fd, str, &this->mrls[nFiles2]->size); diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 657f013f7..e9d4a0106 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.19 2001/08/17 16:15:36 f1rmb Exp $ + * $Id: input_vcd.c,v 1.20 2001/09/01 22:47:59 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -967,7 +967,7 @@ static mrl_t **vcd_plugin_get_dir (input_plugin_t *this_gen, for (i=1; i<this->total_tracks; i++) { /* FIXME: check if track 0 contains valid data */ char mrl[1024]; - memset(&mrl, 0, strlen(mrl)); + memset(&mrl, 0, sizeof (mrl)); sprintf(mrl, "vcd://%d",i); if((i-1) >= this->mrls_allocated_entries |