avcodec/utils: Add case for jv to avcodec_align_dimensions2()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 02:30:58 +0000 (04:30 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 02:48:29 +0000 (04:48 +0200)
commit105654e376a736d243aef4a1d121abebce912e6b
tree9670ab6ff2a8679570899db9d28a9d637f6b7918
parent0de1d6287ec384e795f5ef1d006589dd18ff95e9
avcodec/utils: Add case for jv to avcodec_align_dimensions2()

Fixes out of array accesses
Fixes: asan_heap-oob_12304aa_8_asan_heap-oob_4da4f3_300_intro.jv

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