Commit d5a6f112 authored by Yu Xiaolei's avatar Yu Xiaolei Committed by Michael Niedermayer

lavf: fix 2GB file seek limit on Android

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7b973e73
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment