summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 101dc29407..febc011f6b 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -79,10 +79,9 @@ static void dvd_set_speed(char *device, unsigned speed)
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));