Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-08 15:14:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-02-08 15:27:00 +0400
commit3b6655ebff7c63271c55c4a909f9d9b512751041 (patch)
tree99dfc1c4e5a4b83e15d62b22e7cd6bb4e0ac0b55 /libavcodec/hevc.c
parent1e263133cc067b1986ac6f46f4a77f9fa1f6403c (diff)
avcodec/hevc: remove FFUMOD() in slice qp_y init
This has become redundant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index ebbe9b6436..95f538fec4 100644
--- a/libavcodec/hevc.c
+++ b/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;
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;