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, 21 Dec 2014 03:40:34 +0000 (04:40 +0100)
commitf6cfd160ca45fa8402336d47199af8dc1ad23b3e
treedc4e607d5caffc72ae18373820697d23c5fc549b
parent5e8b8e4b9d157d8be779e6e3e6d302988c8694d7
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