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

Måns Rullgård mans
Tue Jan 19 04:47:46 CET 2010


M?ns Rullg?rd <mans at mansr.com> writes:

> 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.

And applied.  Now someone just needs to make it do the right thing on PPC.

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



More information about the ffmpeg-devel mailing list