fdsrc: enable large file support in Android

https://bugzilla.gnome.org/show_bug.cgi?id=758980
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-12-12 01:06:43 -08:00 committed by Sebastian Dröge
parent ef9a101727
commit db0916d960

View file

@ -88,6 +88,13 @@
#include "gstfdsrc.h"
#ifdef __BIONIC__ /* Android */
#undef lseek
#define lseek lseek64
#undef fstat
#define fstat fstat64
#endif
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,