lavfi/psnr: rename pow2 to pow_2
authorClément Bœsch <u@pkh.me>
Sun, 26 Mar 2017 18:43:11 +0000 (20:43 +0200)
committerClément Bœsch <u@pkh.me>
Wed, 29 Mar 2017 12:49:29 +0000 (14:49 +0200)
commit4ea8f57548f36b0104bc372b2a6d3d4eaae0ce70
tree4c5085fb8cb50c24056caf90b997c8678d537806
parent8f9edf89d5d4a90eed4a798175e97e07a885ab79
lavfi/psnr: rename pow2 to pow_2

This conflict with the DJGPP libc which includes a pow2 function¹

We cannot make DJGPP POSIX only (using -D_POSIX_SOURCE) to avoid this
kind of symbols conflicts due to the lack of both posix_memalign and
memalign (DJGPP non standard function) in that POSIX mode. We currently
rely on memalign for aligned heap allocation.

[1]: http://www.delorie.com/djgpp/doc/libc-2.02/libc_536.html
libavfilter/vf_psnr.c