[FFmpeg-cvslog] swscale: fix crash in fast_bilinear code when compiled with -mred-zone.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jan 12 22:03:42 CET 2012


On Thu, Jan 12, 2012 at 09:43:13PM +0100, Ronald S. Bultje wrote:
> ffmpeg | branch: release/0.8 | Ronald S. Bultje <rsbultje at gmail.com> | Sun Nov 20 15:54:15 2011 -0800| [dd8228dcffc10b00c1f496e11e7ed7c6d07403c4] | committer: Reinhard Tartler
> 
> swscale: fix crash in fast_bilinear code when compiled with -mred-zone.

However and obvious questions is why, since we should not compile
this code with -mred-zone...
Even more so since this hack just won't work if the compiler happens
to put mmx2FilterCode at -8(%%rsp), so it has no absolute advantage
over my original hack (that only added the variable declaration)
but adds 4 instructions to the function...


More information about the ffmpeg-cvslog mailing list