h264: check mb_width/height
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 5 May 2013 23:37:34 +0000 (01:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 5 May 2013 23:58:10 +0000 (01:58 +0200)
commit5a9e3760495e8678ae87314670e3d9d5a1792c8d
treec14d6b5bcff46f1c9bdd811f2eb64e26288b02f9
parentedabbfbaf2c9bc478edc6169cd7714da68ba70b5
h264: check mb_width/height

Fixes inconsistency that leads to out of array accesses with threads

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