[Ffmpeg-devel] PATCH: swscale-example
Michael Niedermayer
michaelni
Wed Apr 25 11:28:35 CEST 2007
Hi
On Tue, Apr 24, 2007 at 10:23:35PM -0400, Marc Hoffman wrote:
> Michael Niedermayer writes:
> > Hi
> >
> > On Tue, Apr 24, 2007 at 10:04:07PM -0400, Marc Hoffman wrote:
> > Content-Description: message body text
> > >
> > > request to move large array allocation from stack to heap. This is
> > > important for machines with out Address Translation like BlackFin.
> > >
> > > comment: allocate large memory blocks in heap.
> >
> > ok but this can be done simpler
>
> curious.
uint8_t *rgb_data= malloc (W*H*4);
and similarly for data
avoids the 7 lines of code later
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070425/04bdc520/attachment.pgp>
More information about the ffmpeg-devel
mailing list