Discussion:
[libdvdcss-devel] Support Android
Jean-Baptiste Kempf
2014-06-05 18:54:53 UTC
Permalink
libdvdcss | branch: master | Jean-Baptiste Kempf <***@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 */

Loading...