[vlc-devel] Re: vlc: svn commit r14218 (hartman)

Rémi Denis-Courmont rem at videolan.org
Sat Feb 11 10:49:51 CET 2006

Le Samedi 11 Février 2006 01:01, Subversion daemon a écrit :
> * Don't put huge pictures on the stack. It is limited on some
> platforms. use malloc. * Use the correct pitch values when reading
> from and writing to pictures (out pitch can differ from in pitch, and
> there is also visible pitch and visible lines.

Using malloc instead of the stack, particularly in a multithreaded 
context, is more often than not very very poor, performance-wise.

I don't know if that is critical here, but shouldn't it rather be on 
stack, *except* on loosy architecture ?

Rémi Denis-Courmont
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060211/23b6d7aa/attachment.sig>

More information about the vlc-devel mailing list