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>
Mon, 21 Jan 2019 06:53:26 +0000 (07:53 +0100)
commit55c36d2498119b3a01337115b28be006602ccb44
tree1b0a7d1b5467cb8f7abfcd76e13e396659cbc6c9
parent558ba71de5c75bd7d2cced51361180baaf32cfd7
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>
(cherry picked from commit 2c64a6bcd280c64997e6c4799bc89c0a9393bbf3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ppc/hevcdsp.c