aboutsummaryrefslogtreecommitdiff
path: root/lib/libdvd/patches/05-libdvdcss-fix-positioning-with-part-read.diff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdvd/patches/05-libdvdcss-fix-positioning-with-part-read.diff')
-rw-r--r--lib/libdvd/patches/05-libdvdcss-fix-positioning-with-part-read.diff18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/libdvd/patches/05-libdvdcss-fix-positioning-with-part-read.diff b/lib/libdvd/patches/05-libdvdcss-fix-positioning-with-part-read.diff
deleted file mode 100644
index 6dfc875855..0000000000
--- a/lib/libdvd/patches/05-libdvdcss-fix-positioning-with-part-read.diff
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/lib/libdvd/libdvdcss/src/device.c b/lib/libdvd/libdvdcss/src/device.c
-index 2395ab5..3de1879 100644
---- a/lib/libdvd/libdvdcss/src/device.c
-+++ b/lib/libdvd/libdvdcss/src/device.c
-@@ -828,10 +828,11 @@ static int libc_read ( dvdcss_t dvdcss, void *p_buffer, int i_blocks )
- /* Handle partial reads */
- if( i_ret != i_size )
- {
-- int i_seek;
-+ int i_seek, i_set_pos;
-
-+ i_set_pos = dvdcss->i_pos + i_ret / DVDCSS_BLOCK_SIZE;
- dvdcss->i_pos = -1;
-- i_seek = libc_seek( dvdcss, i_ret / DVDCSS_BLOCK_SIZE );
-+ i_seek = libc_seek( dvdcss, i_set_pos );
- if( i_seek < 0 )
- {
- return i_seek;