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

This has become redundant

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/43/merge
Michael Niedermayer 11 years ago
parent 1e263133cc
commit 3b6655ebff
  1. 3
      libavcodec/hevc.c

@ -709,8 +709,7 @@ static int hls_slice_header(HEVCContext *s)
s->HEVClc->first_qp_group = !s->sh.dependent_slice_segment_flag; s->HEVClc->first_qp_group = !s->sh.dependent_slice_segment_flag;
if (!s->pps->cu_qp_delta_enabled_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, s->HEVClc->qp_y = s->sh.slice_qp;
52 + s->sps->qp_bd_offset) - s->sps->qp_bd_offset;
s->slice_initialized = 1; s->slice_initialized = 1;

Loading…
Cancel
Save