[Ffmpeg-devel] PATCH: swscale-example

Michael Niedermayer michaelni
Wed Apr 25 13:44:48 CEST 2007


Hi

On Wed, Apr 25, 2007 at 07:36:30AM -0400, Marc Hoffman wrote:
Content-Description: message body text
> Michael Niedermayer writes:
>  > 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
>  > 
> 
> I like this better as well.

ok


> 
> Also the build system seem'd to be broken for me as my
> system doesn't know how to make a -lm file. Is this build patch
> acceptable?

ok

> 
> comment: swscale-example.c remove large automatics from stack
> comment: Makefile explict build rule
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- 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/bdb325d3/attachment.pgp>



More information about the ffmpeg-devel mailing list