Hack around gcc 4.6 breaking asm using call.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 28 Aug 2011 19:14:13 +0000 (21:14 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 21 Sep 2011 21:50:05 +0000 (23:50 +0200)
commitf36cea267381571488070d3d6b8290359f3f94d3
tree176cf54dd8381c92e37bb9ce919d2a31c493028c
parentbf7dc6b29d785f149f18c39db021413e08735546
Hack around gcc 4.6 breaking asm using call.

gcc 4.6 no longer decrements esp to account for local variables.
Thus using call will end up overwriting some local variable.
So add an extra one it can safely clobber.
This is a huge hack because it's basically pure chance it works,
no idea how this is supposed to be done.

Fixes trac ticket #397.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit c928e9172928f3cddab949b107dd53b6bf79555e)
libswscale/x86/swscale_template.c