avcodec/pngdec: Require a IHDR chunk before fctl
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Jun 2015 19:57:12 +0000 (21:57 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Jun 2015 19:57:12 +0000 (21:57 +0200)
commita1736926e9ae51706b537776722e816a4d1f6b36
tree7776a0fff03da9bb12bb33c48c4af522f82203be
parent47f4e2d8960ca756ca153ab8e3e93d80449b8c91
avcodec/pngdec: Require a IHDR chunk before fctl

This is required by the APNG spec

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