avcodec/utvideodec: Fix handling of slice_height=0
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Dec 2014 19:45:31 +0000 (20:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Dec 2014 22:00:04 +0000 (23:00 +0100)
commit3881606240953b9275a247a1c98a567f3c44890f
treec67a14c55b809213ac7cc3c24a6a22bacb93f14e
parenta9a3c005b889fa44183d5a0118a34402c07b1cab
avcodec/utvideodec: Fix handling of slice_height=0

Fixes out of array accesses
Fixes: asan_heap-oob_25bcd7e_3783_cov_3553517262_utvideo_rgba_median.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utvideodec.c