[FFmpeg-devel] [PATCH] x11grab.c: removed allocation and memcpy

Michael Niedermayer michaelni at gmx.at
Wed Mar 30 13:21:19 CEST 2011


On Wed, Mar 30, 2011 at 12:08:28PM +0100, Sven C. Dack wrote:
> Hello,
>
> I am new to your mailing list. Please forgive me if I am doing something  
> utterly wrong.
>
> I have removed the memory allocation and the memcpy from x11grab.c. It  
> now reuses its memory block.
>
> Cheers,
> Sven
>

>  x11grab.c |   10 ---!!!!!!!
>  1 file changed, 3 deletions(-), 7 modifications(!)
> 9359771d6cda4609de43318f1e0d4bd31ce74df4  x11grab.c.patch
> *** ffmpeg/libavdevice/x11grab.c	2011-03-29 21:11:51.000000000 +0100
> --- ffmpeg-sven/libavdevice/x11grab.c	2011-03-29 20:47:32.000000000 +0100

please send a patch made with git format-patch

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110330/ede08455/attachment.asc>


More information about the ffmpeg-devel mailing list