[MPlayer-cvslog] r25078 - trunk/stream/stream_dvd.c

reimar subversion at mplayerhq.hu
Sat Nov 17 20:07:04 CET 2007


Author: reimar
Date: Sat Nov 17 20:07:04 2007
New Revision: 25078

Log:
Cleanup sg_io_hdr initialization a bit


Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Sat Nov 17 20:07:04 2007
@@ -79,10 +79,9 @@ static void dvd_set_speed(char *device, 
   sghdr.interface_id = 'S';
   sghdr.timeout = 5000;
   sghdr.dxfer_direction = SG_DXFER_TO_DEV;
-  sghdr.mx_sb_len = 0;
   sghdr.dxfer_len = sizeof(buffer);
-  sghdr.cmd_len = sizeof(cmd);
   sghdr.dxferp = buffer;
+  sghdr.cmd_len = sizeof(cmd);
   sghdr.cmdp = cmd;
 
   memset(cmd, 0, sizeof(cmd));



More information about the MPlayer-cvslog mailing list