apng extension fix (fix #1076)
Merge pull request #1083 from matheod/apngFix

apng extension fix (fix #1076)