avcodec/dxa: check dimensions
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 14:26:42 +0000 (15:26 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 14:30:05 +0000 (15:30 +0100)
commite70312dfc22c4e54d5716f28f28db8f99c74cc90
tree0301032c5aefa5f9fc8356854ba6d155bb44c921
parentbeb944786e62f204c68883e22a98de9e877ca7de
avcodec/dxa: check dimensions

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