Mercurial > mplayer.hg
changeset 34178:3c0cf739f1e1
libdvdcss: consistently use snprintf() instead of _snprintf()
Both functions are available on Cygwin and MinGW nowadays so there is
no need to be inconsistent anymore.
This was committed to the libdvdcss Subversion repository as revision 242.
author | diego |
---|---|
date | Wed, 26 Oct 2011 17:02:07 +0000 |
parents | fadc00cc31d3 |
children | cdbfbee5c8a9 |
files | libdvdcss/device.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libdvdcss/device.c Wed Oct 26 15:52:06 2011 +0000 +++ b/libdvdcss/device.c Wed Oct 26 17:02:07 2011 +0000 @@ -511,7 +511,7 @@ static int win2k_open ( dvdcss_t dvdcss, char const *psz_device ) { char psz_dvd[7]; - _snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] ); + snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] ); /* To work around an M$ bug in IOCTL_DVD_READ_STRUCTURE, we need read * _and_ write access to the device (so we can make SCSI Pass Through