[Ffmpeg-devel] [PATCH] increase picture buffer alignment to 16-byte on x86
Thu Jan 11 04:24:16 CET 2007
I was doing some sse2 code with an ffmpeg buffer and was surprised to
find it crashing.
This turned out to be because avcodec_default_get_buffer was aligning
the U/V buffers to 8-byte instead of 16-byte alignment. As 16-byte
alignment works fine on PPC, the attached patch changes it to match
Although if there's a reason for this, I can certainly just go to
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 450 bytes
Desc: not available
More information about the ffmpeg-devel