aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-28 12:53:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-28 12:54:14 +0200
commit453224f10b375c280ab2ef8f6e40213ba5b77d8a (patch)
tree1207dbbfc8d4b7227ae5031cf236ca8e741c63cb /libavcodec/hevc.c
parentc11255ae8b1a6239cfde38bb6d44dde35eee9648 (diff)
parente36a2f4c5280e2779b0e88974295a711cf8d88be (diff)
downloadffmpeg-453224f10b375c280ab2ef8f6e40213ba5b77d8a.tar.gz
Merge commit 'e36a2f4c5280e2779b0e88974295a711cf8d88be'
* commit 'e36a2f4c5280e2779b0e88974295a711cf8d88be': hevc: eliminate an unnecessary array Conflicts: libavcodec/hevc.c See: 255086a7e06417d98417cea192053b8a8531eb24 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 734f40439b..ff5b9a17e1 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2123,15 +2123,15 @@ static int hls_coding_quadtree(HEVCContext *s, int x0, int y0,
const int cb_size = 1 << log2_cb_size;
int ret;
int qp_block_mask = (1<<(s->sps->log2_ctb_size - s->pps->diff_cu_qp_delta_depth)) - 1;
- int split_cu_flag;
+ int split_cu;
lc->ct.depth = cb_depth;
if (x0 + cb_size <= s->sps->width &&
y0 + cb_size <= s->sps->height &&
log2_cb_size > s->sps->log2_min_cb_size) {
- split_cu_flag = ff_hevc_split_coding_unit_flag_decode(s, cb_depth, x0, y0);
+ split_cu = ff_hevc_split_coding_unit_flag_decode(s, cb_depth, x0, y0);
} else {
- split_cu_flag = (log2_cb_size > s->sps->log2_min_cb_size);
+ split_cu = (log2_cb_size > s->sps->log2_min_cb_size);
}
if (s->pps->cu_qp_delta_enabled_flag &&
log2_cb_size >= s->sps->log2_ctb_size - s->pps->diff_cu_qp_delta_depth) {
@@ -2144,7 +2144,7 @@ static int hls_coding_quadtree(HEVCContext *s, int x0, int y0,
lc->tu.is_cu_chroma_qp_offset_coded = 0;
}
- if (split_cu_flag) {
+ if (split_cu) {
const int cb_size_split = cb_size >> 1;
const int x1 = x0 + cb_size_split;
const int y1 = y0 + cb_size_split;