shithub: libdvdcss

Download patch

ref: cdd38de0e1113e141cd1988c7dfd43f9ee7f7a55
parent: 30c2da59e16b6acc6afb42549b6dc799aad1b94a
author: Sam Hocevar <[email protected]>
date: Mon Jul 11 07:41:15 EDT 2005

* src/bsdi_ioctl.c: use memset instead of bzero. 
    MPlayer team.


--- a/src/bsdi_ioctl.c
+++ b/src/bsdi_ioctl.c
@@ -694,7 +694,7 @@
 	struct	cdrom_tocentry entry;
 	int	ret, i;
 
-	bzero(tracks, sizeof (*tracks));
+	memset(tracks, 0, sizeof (*tracks));
 	ret = cdrom_ioctl(fd, CDROMREADTOCHDR, &header);
 /*
  * This whole business is a crock anyhow so we don't bother distinguishing