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

Kevin Whitaker kevin at lisnr.com
Tue Jan 5 16:29:35 CET 2016


I've attached an updated patch with feedback from above.

On Tue, Jan 5, 2016 at 10:16 AM, Hugo Beauzée-Luyssen <hugo at beauzee.fr>
wrote:

> On 01/05/2016 04:01 PM, Kevin Whitaker wrote:
>
>>     What about fd://20#65477:445677 ?
>>
>> It seems anything after a hash gets trimmed and I am then unable to get
>> the data that is normally stored in psz_location. If the trim process
>> stores it elsewhere I can access, I could work it like that.
>>
>>     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.
>>
>>     Please do not change the coding style
>>
>> Are you referring to the longs or something else?
>>
>>
> I was referring to the line break removal after the curly brace :)
>
> Regards,
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>



-- 

*Kevin Whitaker*
Application Engineer |
*LISNR*
kevin at lisnr.com

  website <http://www.lisnr.com/> | twitter <http://twitter.com/lisnr> |
facebook <http://facebook.com/getlisnr>


 LISNR in the News:
 CNBC - 2015 CNBC Disruptor 50 companies <http://www.cnbc.com/id/102609977>
 Adweek - McDonald's 'Shark Tank' Winner at SXSW
<http://www.adweek.com/news/technology/mcdonalds-played-game-shark-tank-sxsw-and-heres-winner-163480>
 TechCrunch - R/GA Accelerator Demo Day
<http://techcrunch.com/2015/02/12/at-the-techstars-rga-demo-day-ten-new-iot-companies-go-live/>

*This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the named addressee, you should not disseminate, distribute
or copy this email. Please notify the sender immediately by email if you
have received this email by mistake and delete this email from your system.
If you are not the intended recipient, you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited.  Please note that any views or
opinions presented in this email are solely those of the author and do not
necessarily represent those of the LISNR, INC.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160105/02dcc8a1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: updated-patch-file-descriptors.patch
Type: text/x-patch
Size: 5279 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160105/02dcc8a1/attachment.bin>


More information about the vlc-devel mailing list