[FFmpeg-devel] [PATCH] swscale-example: use av_malloc()

Michael Niedermayer michaelni
Tue Jan 19 04:07:11 CET 2010


On Tue, Jan 19, 2010 at 02:20:02AM +0000, Mans Rullgard wrote:
> Image buffers require 16-byte alignment, so av_malloc() should be used.
> Fixes crash on PPC.
> ---
>  swscale-example.c |   11 ++++++-----
>  1 files changed, 6 insertions(+), 5 deletions(-)

ok with matching av_free()

[...]
-- 
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: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100119/ceb642e2/attachment.pgp>



More information about the ffmpeg-devel mailing list