avcodec/x86/pngdsp: fix off by 1 error
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Dec 2014 11:28:37 +0000 (12:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Dec 2014 17:24:40 +0000 (18:24 +0100)
commited9be7dd470cd32fdb5baa886b048266f4cba28f
tree031e648c4d29178894d75fea9eb4cdf5ad667893
parent41a52740d47ac0b02e99ae90ff9212cce71753e7
avcodec/x86/pngdsp: fix off by 1 error

This fixes artifacts in the last pixel of rows with some widths and pixel formats

Found-by: Dominique Leroux <Dominique.Leroux@autodesk.com>
Tested-by: Dominique Leroux <Dominique.Leroux@autodesk.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c
libavcodec/x86/pngdsp.asm