[vlc-devel] [PATCH] add in ability to read from any part of a file descriptor.

Jean-Baptiste Kempf jb at videolan.org
Tue Jan 5 16:03:49 CET 2016

On 05 Jan, Kevin Whitaker wrote :
> Why long, and not off_t ?
> >
> Just an artifact of being new to vlc codebase and C. The data coming from
> android is a long, so I mentally kept it the same here. Let me know if this
> is something that is worth changing.

That is incorrect. long in Java is very different from long in C.
Your function lseek* are using off_t. Use off_t then.
With my kindest regards,

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list