[vlc-devel] [PATCH] v4l2 userptr fix

Jean-Paul Saman jean-paul.saman at planet.nl
Thu Oct 11 22:36:32 CEST 2007

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?

Jean-Paul Saman.

More information about the vlc-devel mailing list