pngdec/filter: dont access out of array elements at the end
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Feb 2013 18:53:40 +0000 (19:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Feb 2013 22:23:05 +0000 (23:23 +0100)
commit41eda870483fd1f2dc6f7f17cd68e360626180c9
treeb8ea6918b4b0ad1a71da4382149107892e0a0aab
parente6ac11e41734cbb24ec5e6c73264d030e5f07a64
pngdec/filter: dont access out of array elements at the end

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1ac0fa50eff30d413206cffa5f47f7fe6d4849b1)

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