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>
Sat, 4 Oct 2014 12:53:13 +0000 (14:53 +0200)
commit9734a7a1de3043f012ad0f1ef11027d9488067e6
treee807fec8ede0800b9868f6588062a654b73be999
parent138902dfb60fbb87fb65a8c4800f8ac661394b72
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>
libavcodec/h264.c