avcodec/h264: Check mode before considering mixed mode intra prediction
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Oct 2014 12:51:46 +0000 (14:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Nov 2014 01:20:09 +0000 (02:20 +0100)
commit0e7173826216384b56192be3ccdbccb488d7c977
tree1fc42556efa47e7810c70c78620185eca966bfca
parent128b0510e1596058fd65c23c274c9cf1b88956fb
avcodec/h264: Check mode before considering mixed mode intra prediction

Fixes out of array read
Fixes: asan_heap-oob_e476fc_2_asan_heap-oob_1333ec6_61_CAMACI3_Sony_C.jsv

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9734a7a1de3043f012ad0f1ef11027d9488067e6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c