pngdec: check that format matches too not just dimensions
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 18:58:37 +0000 (19:58 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 18:59:05 +0000 (19:59 +0100)
commit623cfc93d9ba5790b9b237ce66123bba9fd6a6c7
tree849b33b033a06d1b1957cadd2c4136c86303aa3d
parent02a325cb6fdc1e33a45191cbfbfe4298affcd021
pngdec: check that format matches too not just dimensions

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c