# HG changeset patch # User reimar # Date 1195323439 0 # Node ID 1bc77e1220f3bb855f86080354374010982c5d28 # Parent bcc90b2bc09fa65a1ad487dcae3494ec374014a0 GPCMD_SET_STREAMING command is 12 bytes large, not 16 Patch by Sebastian Kemper (sebastian_ml gmx net) diff -r bcc90b2bc09f -r 1bc77e1220f3 stream/stream_dvd.c --- 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;