avcodec/h264_slice: Use w/h from the AVFrame instead of mb_w/h
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Jun 2015 17:37:12 +0000 (19:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Jun 2015 17:38:44 +0000 (19:38 +0200)
commit330863c9f19a23c500ba7901a23f1cc377b353bb
treeedd5a978127b065c40106ca0fcae6326e7203e3c
parent0083c16605aa5997534e87e68f97ef85a8c3b7b8
avcodec/h264_slice: Use w/h from the AVFrame instead of mb_w/h

Fixes out of array access
Fixes: asan_heap-oob_4d5bb0_682_cov_3124593265_Fraunhofer__a_driving_force_in_innovation__small.mp4

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_slice.c