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>
Wed, 15 Jan 2014 23:52:56 +0000 (00:52 +0100)
commit15a736483e3cb672e343ab3ffb78281675896d6f
tree2a87494c8574f4b1d49a62e71505045ca4f30396
parentc8b90c7cd52600bbfb403793d6665fc90ad78946
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>
(cherry picked from commit 5a9e3760495e8678ae87314670e3d9d5a1792c8d)

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