summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorMickaƫl Raulet <mraulet@insa-rennes.fr>2014-09-06 19:05:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-06 20:36:27 +0200
commit684d0a0b23dce1f7759a40b1ef5c24eb7d8e9329 (patch)
treed7137a3fc1694602ba2a9384f5cb0c28bca929b7 /libavcodec/hevc.c
parent5732b21884251a3414622f662eb337666f2eb77e (diff)
avcodec/hevc: fix dead code
fix CID 1231985 cherry picked from commit 745a35a777eaa5f77b8660b44098110a29916aae Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 863ed230b9..5fc7324862 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -1140,9 +1140,6 @@ static int hls_transform_tree(HEVCContext *s, int x0, int y0,
if (s->sps->chroma_format_idc == 2 && (!split_transform_flag || log2_trafo_size == 3)) {
cbf_cb[1] = ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
}
- } else if (trafo_depth == 0) {
- cbf_cb[0] =
- cbf_cb[1] = 0;
}
if (trafo_depth == 0 || cbf_cr[0]) {
@@ -1150,9 +1147,6 @@ static int hls_transform_tree(HEVCContext *s, int x0, int y0,
if (s->sps->chroma_format_idc == 2 && (!split_transform_flag || log2_trafo_size == 3)) {
cbf_cr[1] = ff_hevc_cbf_cb_cr_decode(s, trafo_depth);
}
- } else if (trafo_depth == 0) {
- cbf_cr[0] =
- cbf_cr[1] = 0;
}
}