shithub: libdvdcss

Download patch

ref: e6b4e1ad773ea719c7c6c32f3b14e6f595c3c663
parent: fbef64ebfc38fcdc7c896426b113f73ef0dbfeca
author: Jean-Baptiste Kempf <jb@videolan.org>
date: Thu Jun 5 16:34:54 EDT 2014

Support Android

--- a/src/common.h
+++ b/src/common.h
@@ -74,4 +74,11 @@
 
 #endif
 
+#ifdef __ANDROID__
+# undef  lseek
+# define lseek lseek64
+# undef  off_t
+# define off_t off64_t
+#endif
+
 #endif /* DVDCSS_COMMON_H */