h264: check that luma and chroma depth match
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Feb 2013 14:00:59 +0000 (15:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Feb 2013 14:02:09 +0000 (15:02 +0100)
commitbdeb61ccc67911cfc5e20c7cfb1312d0501ca90a
tree3e7121c246e0130a36b8bedbd728b9f191da8830
parent59015c1118ac70b883ab5a85f5766a7115fba60f
h264: check that luma and chroma depth match

Fixes out of array access

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