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>
Tue, 18 Feb 2014 01:54:18 +0000 (02:54 +0100)
commit61d59703c91869f4e5cdacd8d6be52f8b89d4ba4
treec3627a1b8f33eb4c94ac7468ba559a7232f49075
parentc57fc97e956a52edc94a38ff0ecd3058b44c15b7
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>
libavcodec/snow.h