hevc: Bound check slice_qp
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 11 Jan 2014 19:13:20 +0000 (20:13 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 21 Jan 2014 10:59:30 +0000 (11:59 +0100)
commit0d999333f96a34903448579bf13a3209deaee9da
tree4156059c3eaf3af2d77b4f72055be2c59c652248
parent838740e6420538ad45982da6b1d3aa3ae91307f5
hevc: Bound check slice_qp

The T-REC-H.265-2013044 page 79 states it has to be in the range
[-s->sps->qp_bd_offset, 51].

Sample-Id: 00001386-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/hevc.c