1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavf: fix 2GB file seek limit on Android

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Yu Xiaolei 2014-10-09 10:49:43 +08:00 committed by Michael Niedermayer
parent 7b973e7341
commit d5a6f11272

View File

@ -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