avfilter/vf_spp: Fix overflow in 8bit store slice
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Dec 2014 00:45:55 +0000 (01:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Dec 2014 00:48:19 +0000 (01:48 +0100)
commit6706a2986c48e3f20f1274b24345e6555d8f0f48
tree48d7211dfbcb8bc6a107423d2703215909659474
parentf622ff16cde3b4a66dfacb3db0d89528fbd16999
avfilter/vf_spp: Fix overflow in 8bit store slice

Fixes regression with
ffplay -f lavfi -i testsrc=640x480  -vf format=gray,boxblur=20:10,geq="'mod(lum(X,Y),16)*15'",boxblur=10,geq="'abs(mod(lum(X,Y),15)-7)*32'",spp=4:40

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_spp.c
libavfilter/vf_spp.h
libavfilter/x86/vf_spp.c