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:
reimar 2008-01-28 12:18:05 +00:00
parent 1203499e51
commit 7fe6af8e10
1 changed files with 1 additions and 1 deletions

View File

@ -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;