[FFmpeg-devel] [PATCH v2] lavf: fix 2GB file seek limit on Android
Michael Niedermayer
michaelni at gmx.at
Thu Oct 9 13:31:58 CEST 2014
On Thu, Oct 09, 2014 at 10:49:43AM +0800, Yu Xiaolei wrote:
>
> ---
> libavformat/os_support.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/libavformat/os_support.h b/libavformat/os_support.h
> index 1522740..0b9fd49 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
> +
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141009/d767ab40/attachment.asc>
More information about the ffmpeg-devel
mailing list