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>
Sun, 24 Mar 2019 09:38:51 +0000 (10:38 +0100)
commit04fe02bd80bc8dddd1e9d5a1cc9d336fc3a5a6da
tree42a59e5f5c6e42a0b753882457e2c09abec402d7
parenta6d25b6ba54826c545febc55ce77feb15f61efef
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