avcodec/pngdec: allow for some code path optimizations.
authorBenoit Fouet <benoit.fouet@free.fr>
Fri, 28 Nov 2014 13:03:08 +0000 (14:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 28 Nov 2014 14:51:31 +0000 (15:51 +0100)
commitaf8804ac86383160c80671c3dcd511510f639f24
tree9baf2f028b40e2d973068df3e936d4fe4e5f11fe
parentaff50ae1d176edacf7ff3fb24db9d25ebe9a4b2e
avcodec/pngdec: allow for some code path optimizations.

Use 'if (CONFIG_APNG_DECODER)' where needed, so that the compiler can
optimize out some portion of code.

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