summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/os_support.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 1522740765..0b9fd49323 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -56,6 +56,13 @@
#define mkdir(a, b) _mkdir(a)
#endif
+#ifdef __ANDROID__
+# ifdef lseek
+# undef lseek
+# endif
+# define lseek(f,p,w) lseek64((f), (p), (w))
+#endif
+
static inline int is_dos_path(const char *path)
{
#if HAVE_DOS_PATHS