Do not try to read 16bit gray png files with alpha channel.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 12 Nov 2011 18:30:27 +0000 (19:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Nov 2011 20:05:12 +0000 (21:05 +0100)
commit00d35e82b2500f69db9d482db76e8c2f53521f2d
treef453c6b13e1b4e06f3e8e6387bc72d9fe4644092
parent807342e1cfe8a33dbe929d896d56725f88514324
Do not try to read 16bit gray png files with alpha channel.

FFmpeg does not support gray16a.
Fixes the crash in ticket #644.
(cherry picked from commit 0c5fd6372e6c257912d7ae64cbfc4d8541f0452f)

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