Browse Source

lavf: fix 2GB file seek limit on Android

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Yu Xiaolei Michael Niedermayer 11 years ago
parent
commit
d5a6f11272
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      libavformat/os_support.h

+ 7
- 0
libavformat/os_support.h 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


Loading…
Cancel
Save