[MPlayer-cvslog] r25901 - trunk/stream/vcd_read_fbsd.h
    reimar 
    subversion at mplayerhq.hu
       
    Mon Jan 28 13:18:05 CET 2008
    
    
  
Author: reimar
Date: Mon Jan 28 13:18:05 2008
New Revision: 25901
Log:
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.
Modified:
   trunk/stream/vcd_read_fbsd.h
Modified: trunk/stream/vcd_read_fbsd.h
==============================================================================
--- trunk/stream/vcd_read_fbsd.h	(original)
+++ trunk/stream/vcd_read_fbsd.h	Mon Jan 28 13:18:05 2008
@@ -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;
    
    
More information about the MPlayer-cvslog
mailing list