[Ffmpeg-devel] swscale and memalign

Luca Abeni lucabe72
Tue Jul 25 10:07:40 CEST 2006

Hi Reimar,

On Tue, 2006-07-25 at 09:41 +0200, Reimar D?ffinger wrote:
> Hello,
> On Mon, Jul 24, 2006 at 09:23:11AM +0200, Luca Abeni wrote:
> > A patch like the first attached one (build_fix.diff) seems to fix the
> > issue. I think it is correct, and I would be tempted to commit it ASAP,
> > because it fixes a compilation issue. Michael, is it ok?
> Actually... I already replaced all memaligns by av_malloc
Ah, ok... I just noticed the change in the repository; that's similar to
my second patch. Thanks for fixing the problem I introduced.

> since it was
> completely wrong when using the MEMALIGN_HACK (av_free would then be
> operating on a pointer that points at a completely wrong place, most
> likely causing a segfault before)
I see... But now I am confused: isn't MEMALIGN_HACK used when memaling()
does not exist?

Anyway, I see the problem is fixed; thanks again

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

More information about the ffmpeg-devel mailing list