[FFmpeg-cvslog] dsputil: set STRIDE_ALIGN to 16 for x86 also.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Feb 9 21:14:38 CET 2012

On Thu, Feb 09, 2012 at 01:46:09AM +0100, Ronald S. Bultje wrote:
> ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Feb  7 14:54:46 2012 -0800| [9b027c0d0794b50e3b638cca4bed925638ab68bc] | committer: Ronald S. Bultje
> dsputil: set STRIDE_ALIGN to 16 for x86 also.
> This fixes crashes in e.g. PNG decoding with SSE2 enabled. In fact, many
> x86 optimizations for codecs assume that our buffer strides are 16-byte
> aligned.

With that merged you probably should revert my pngdsp changes.
I didn't really like it too much since it wastes a good percentage of
memory when decoding lots of really small (like 18x23) pngs, which
felt more relevant and minimally faster PNG decode.
Doesn't really matter though.

More information about the ffmpeg-cvslog mailing list