avcodec/ppc/hevcdsp: Fix build failures with powerpc-linux-gnu-gcc-4.8 with --disable...
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 4 Dec 2018 15:29:40 +0000 (16:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 5 Dec 2018 21:58:12 +0000 (22:58 +0100)
commit2c64a6bcd280c64997e6c4799bc89c0a9393bbf3
tree2843086eb17f24331234919157b63831e4e8cb67
parent6ea3cf1b6f1850dd41d27c45c68ce6d69428e7b8
avcodec/ppc/hevcdsp: Fix build failures with powerpc-linux-gnu-gcc-4.8 with --disable-optimizations

The affected functions could also be changed into macros, this is the
smaller change to fix it though. And avoids (probably) less readable macros
The extra code should be optimized out when optimizations are done as all values
are known at build after inlining.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ppc/hevcdsp.c