avcodec/utvideodec: fix assumtation that slice_height >= 1
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Nov 2014 18:44:20 +0000 (19:44 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Nov 2014 18:45:36 +0000 (19:45 +0100)
commit7656c4c6e66f8a787d384f027ad824cc1677fda1
tree160190f214d5d60a1daa27dda10bd225a0fc98db
parente981de81fea7b2c07ae178b917305184f6596430
avcodec/utvideodec: fix assumtation that slice_height >= 1

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