avcodec/snow: split block clipping checks
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Feb 2014 01:53:14 +0000 (02:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Mar 2014 17:51:50 +0000 (18:51 +0100)
commit43b1762ab869b2451ef66a2606d01ad09d691f51
tree79e61d7bd996028f988db337f799816e5d3b24e0
parentf157f18b3473dc5bcef8d21d25ce0cdb6597bafd
avcodec/snow: split block clipping checks

Fixes out of array read
Fixes: d4476f68ca1c1c57afbc45806f581963-asan_heap-oob_2266b27_8607_cov_4044577381_snow_chroma_bug.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 61d59703c91869f4e5cdacd8d6be52f8b89d4ba4)

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