avcodec/dirac_arith: Fix build with PIC and stack-check options
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>
Wed, 9 Apr 2014 10:18:32 +0000 (12:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jun 2014 16:16:20 +0000 (18:16 +0200)
commit90cf672d7a497d69fb56acd3873d4d7cfeeb6fc4
tree1efca24a58e6a0e6b2d3824c6cb7c658a8291412
parent4af56488c86e326f13ec4c786e57396b005eccf2
avcodec/dirac_arith: Fix build with PIC and stack-check options

Fixes Ticket3540

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.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d8ab7f31dd819f7b3e0d460a2fa4261aaae87b98)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dirac_arith.h