[vlc-devel] [PATCH] v4l2 userptr fix

Richard Hosking richard at hovis.net
Fri Oct 12 11:31:06 CEST 2007

Patch now using vlc_memalign.


Jean-Paul Saman wrote:
> Jean-Paul Saman wrote:
>> Richard Hosking wrote:
>>> Just noticed something in my patch.  I am using
>>> 'memalign' as the reference example does.  ie:-
>>> new_buffer = memalign( page_size, buffer_size );
>>> Is this correct usage in VLC regarding
>>> portability?  I notice we have a 'vlc_memalign'
>>> function which maybe I should be using instead?
>> For portability reasons it would be better to use vlc_memalign(). But 
>> it might not make that much sense for v4l2 since it is Linux specific. 
>> Anybody know how this is done under *BSD?
> Can you resent the patch (use of vlc_memalign iso memalign) ?
> Gtz,
> Jean-Paul Saman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.c.diff
Type: text/x-patch
Size: 4193 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071012/b70d86dd/attachment.bin>

More information about the vlc-devel mailing list