Commit 3b6655eb authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc: remove FFUMOD() in slice qp_y init

This has become redundant
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1e263133
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment