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>
Fri, 21 Mar 2014 03:23:59 +0000 (04:23 +0100)
commit85162a60b8f954ddaf1726691d39945fba0ce8c5
tree7feede88cf5e05fc6e159b236f0e1cd19cc4b961
parent573d5fdedae72bf59d8c0b0766fdee171063d36f
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