avcodec/hevc_ps: Check diff_cu_qp_delta_depth
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 18 Dec 2014 01:09:23 +0000 (02:09 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 17:28:34 +0000 (18:28 +0100)
commitafd7fac3f19de0c3fd4ed8aa78026ae4c6189cb7
tree11faa5398ecc6ca02628872796dda56ed04dcdcd
parent3353a00d58e26806c7e693d0a524987aac722d90
avcodec/hevc_ps: Check diff_cu_qp_delta_depth

Fixes undefined behavior
Fixes: asan_static-oob_17aa046_582_cov_1577759978_DBLK_G_VIXS_1.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3281fa892599d71b4dc298a426af8296419cd90e)

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