mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
GPCMD_SET_STREAMING command is 12 bytes large, not 16
Patch by Sebastian Kemper (sebastian_ml gmx net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25064 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
de22a05645
commit
509ee9591c
@ -49,7 +49,7 @@ static void dvd_set_speed(char *device, unsigned speed)
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user