avcodec/hevc: remove FFUMOD() in slice qp_y init
This has become redundant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1e263133cc
commit
3b6655ebff
@ -709,8 +709,7 @@ static int hls_slice_header(HEVCContext *s)
|
||||
s->HEVClc->first_qp_group = !s->sh.dependent_slice_segment_flag;
|
||||
|
||||
if (!s->pps->cu_qp_delta_enabled_flag)
|
||||
s->HEVClc->qp_y = FFUMOD(s->sh.slice_qp + 52 + 2 * s->sps->qp_bd_offset,
|
||||
52 + s->sps->qp_bd_offset) - s->sps->qp_bd_offset;
|
||||
s->HEVClc->qp_y = s->sh.slice_qp;
|
||||
|
||||
s->slice_initialized = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user