mirror of https://github.com/mpv-player/mpv
bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14644 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b08e2e7c08
commit
9507ae9238
|
@ -694,7 +694,7 @@ static void cdrom_count_tracks(int fd, tracktype *tracks)
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue