summaryrefslogtreecommitdiff
path: root/libavcodec/hevcpred_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-02 11:59:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-02 13:09:31 +0100
commit1a6948fa708d7f0a950f9caa0256e2d73740e924 (patch)
treeff6305cb10e9cf7883740dee311a2e42359338e0 /libavcodec/hevcpred_template.c
parentce7f1c76bd8fc3b4b2dc013ea7e635ed26a8c9fd (diff)
libavcodec/hevc: reduce bracket differences to 064698d381e1e7790f21b0199a8930ea04e2e942
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevcpred_template.c')
-rw-r--r--libavcodec/hevcpred_template.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/hevcpred_template.c b/libavcodec/hevcpred_template.c
index 2276023252..07bc1ea795 100644
--- a/libavcodec/hevcpred_template.c
+++ b/libavcodec/hevcpred_template.c
@@ -491,9 +491,8 @@ static av_always_inline void FUNC(pred_angular)(uint8_t *_src,
fact * ref[x + idx + 2] + 16) >> 5;
}
} else {
- for (x = 0; x < size; x++) {
+ for (x = 0; x < size; x++)
POS(x, y) = ref[x + idx + 1];
- }
}
}
if (mode == 26 && c_idx == 0 && size < 32) {
@@ -519,9 +518,8 @@ static av_always_inline void FUNC(pred_angular)(uint8_t *_src,
fact * ref[y + idx + 2] + 16) >> 5;
}
} else {
- for (y = 0; y < size; y++) {
+ for (y = 0; y < size; y++)
POS(x, y) = ref[y + idx + 1];
- }
}
}
if (mode == 10 && c_idx == 0 && size < 32) {