diff stream/stream_dvd.c @ 25036:1bc77e1220f3

GPCMD_SET_STREAMING command is 12 bytes large, not 16 Patch by Sebastian Kemper (sebastian_ml gmx net)
author reimar
date Sat, 17 Nov 2007 18:17:19 +0000
parents 5e1e61012a05
children ee99e07b2139
line wrap: on
line diff
--- a/stream/stream_dvd.c	Sat Nov 17 18:08:53 2007 +0000
+++ b/stream/stream_dvd.c	Sat Nov 17 18:17:19 2007 +0000
@@ -49,7 +49,7 @@
 #if defined(__linux__) && defined(SG_IO) && defined(GPCMD_SET_STREAMING)
   int fd;
   unsigned char buffer[28];
-  unsigned char cmd[16];
+  unsigned char cmd[12];
   unsigned char sense[16];
   struct sg_io_hdr sghdr;
   struct stat st;