[libdvdcss-devel] Support Android

Jean-Baptiste Kempf git at videolan.org
Thu Jun 5 20:54:53 CEST 2014


libdvdcss | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jun  5 20:34:54 2014 +0200| [e6b4e1ad773ea719c7c6c32f3b14e6f595c3c663] | committer: Jean-Baptiste Kempf

Support Android

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=e6b4e1ad773ea719c7c6c32f3b14e6f595c3c663
---

 src/common.h |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/common.h b/src/common.h
index 95d4452..d4e4f36 100644
--- a/src/common.h
+++ b/src/common.h
@@ -74,4 +74,11 @@ typedef __int64 off_t;
 
 #endif
 
+#ifdef __ANDROID__
+# undef  lseek
+# define lseek lseek64
+# undef  off_t
+# define off_t off64_t
+#endif
+
 #endif /* DVDCSS_COMMON_H */



More information about the libdvdcss-devel mailing list