1 --- libdvdread-4.2.0/src/dvd_input.c.orig 2009-06-09 00:02:37.000000000 +0200
2 +++ libdvdread-4.2.0/src/dvd_input.c 2012-03-16 20:01:21.501749182 +0100
3 @@ -218,12 +218,13 @@ static int file_read(dvd_input_t dev, vo
7 + unsigned char *buf = buffer;
9 len = (size_t)blocks * DVD_VIDEO_LB_LEN;
13 - ret = read(dev->fd, buffer, len);
14 + ret = read(dev->fd, buf, len);
17 /* One of the reads failed, too bad. We won't even bother
18 @@ -242,6 +243,7 @@ static int file_read(dvd_input_t dev, vo
19 return (int) (bytes / DVD_VIDEO_LB_LEN);