avcodec/pngdsp: fix (un)signed type in end comparission
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Aug 2013 21:14:32 +0000 (23:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Oct 2013 01:13:28 +0000 (03:13 +0200)
commite3d643cf758793577e9f99018cc7dcf753970c1d
tree16efdd63ecc85f6f61d2fa3cf9645deeb4cb2841
parent1b05b0005becac06c892ea07c3dbb11f3eb5ece1
avcodec/pngdsp: fix (un)signed type in end comparission

Fixes out of array accesses
Fixes Ticket2919

Found_by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 86736f59d6a527d8bc807d09b93f971c0fe0bb07)

Conflicts:

libavcodec/pngdsp.c

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