aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/a64colors.h
diff options
context:
space:
mode:
authorLaurent <laurent.aml@gmail.com>2013-05-25 06:01:29 -0400
committerLuca Barbato <lu_zero@gentoo.org>2013-05-25 12:07:56 +0200
commit9495cd170b5786c3518419e873d94eb5e7ada11a (patch)
tree7f0b486bd789d7975c416bbda78693ceb169938a /libavcodec/a64colors.h
parent597208fde175f7ae56f833e8cbae10cb9b709daf (diff)
downloadffmpeg-9495cd170b5786c3518419e873d94eb5e7ada11a.tar.gz
configure: Fix check_exec_crash for ICL support
Change the check_exec_crash test to use a function pointer instead of simply calling the function. The EBP availability test will crash when compiled with ICL likely due to compiler optimization shenanigans. Originally the check_exec_crash code was moved out of main to fix a problem with gcc's treatment of non-leaf main on x86_32. Libav already moved the code out of main but the addition of the function pointer will prevent any inlining which fixes the remaining problem. A function pointer is used since it is compiler agnostic (as opposed to say __attribute__ ((noinline)) which would only work with gcc compatible compilers). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/a64colors.h')
0 files changed, 0 insertions, 0 deletions