[vlc-devel] [PATCH] v4l2 userptr fix

Jean-Paul Saman jean-paul.saman at planet.nl
Fri Oct 12 09:04:58 CEST 2007


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



More information about the vlc-devel mailing list