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

Måns Rullgård mans
Tue Jan 19 04:33:24 CET 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> 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()

How sloppy of me.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list