mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 14:56:55 +00:00
vcd_read must read exactly VCD_SECTOR_DATA bytes.
If NetBSD can not handle this setting, the code must be rewritten to use a temporary buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25901 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1203499e51
commit
7fe6af8e10
@ -206,7 +206,7 @@ vcd_read(mp_vcd_priv_t* vcd, char *mem)
|
||||
sc.cmd[10] = 0; // no subchannel
|
||||
sc.cmdlen = 12;
|
||||
sc.databuf = (caddr_t) mem;
|
||||
sc.datalen = 2328;
|
||||
sc.datalen = VCD_SECTOR_DATA;
|
||||
sc.senselen = sizeof(sc.sense);
|
||||
sc.flags = SCCMD_READ;
|
||||
sc.timeout = 10000;
|
||||
|
Loading…
Reference in New Issue
Block a user