[FFmpeg-devel] [PATCH] Hack around gcc 4.6 breaking asm using call.

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Sep 20 11:57:56 CEST 2011

Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> 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.


Does this have any negative impact except being a hack?

Carl Eugen

More information about the ffmpeg-devel mailing list