avcodec/hevc: Fix modulo operations
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Jan 2014 01:51:20 +0000 (02:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Jan 2014 03:32:37 +0000 (04:32 +0100)
commit4ced5d7780fea2ea49444d6686d26f26b3a2160f
tree62e1e3d0927c79dd6506de1c4aba4b6f45a6b030
parentd66bab0a69ac1860e78dd951ad8db1a507e75642
avcodec/hevc: Fix modulo operations

Fixes qp fields becoming out of range
Fixes: asan_static-oob_e393a3_6998_WPP_A_ericsson_MAIN10_2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc.c
libavcodec/hevc_filter.c