Mercurial > mplayer.hg
changeset 25873:cf37007e1817
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.
author | reimar |
---|---|
date | Mon, 28 Jan 2008 12:18:05 +0000 |
parents | 3eeaf9d4c65a |
children | 62e8b0134919 |
files | stream/vcd_read_fbsd.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/vcd_read_fbsd.h Mon Jan 28 12:11:41 2008 +0000 +++ b/stream/vcd_read_fbsd.h Mon Jan 28 12:18:05 2008 +0000 @@ -206,7 +206,7 @@ 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;