[FFmpeg-devel] [PATCH] Tickets #3540 : build error with PIC and stack-check options
anthoine.bourgeois at gmail.com
Wed Apr 9 12:18:32 CEST 2014
The function dirac_get_arith_bit in libavcodec/dirac_arith.h can't be
built with PIC and check-stack because the asm code needs 6 registers
and PIC and check-stack options take 1 each and x86 is quite limited
in this area.
The patch attached adds a condition on HAVE_6REGS. HAVE_6REGS is false
in this configuration and then the C code is used instead.
I tested to build the version 1.2.6 but git master is affected too.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 711 bytes
Desc: not available
More information about the ffmpeg-devel