summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-11-15 20:40:12 +0100
committerAnton Khirnov <anton@khirnov.net>2014-11-17 09:25:12 +0100
commit84b9463984083f4e83948c73c1a5dbaf596ff3f7 (patch)
tree7d9d0df636ec82c8e659ecb827653981b148be4c /libavcodec
parent2c6a7f9348378f887066fb1669c46b9485e8ef3e (diff)
hevc: remove a redundant line
pred_mode is overwritten a few lines immediately below.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hevc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 4557bdf5bd..f775fdf48d 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2078,7 +2078,6 @@ static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
if (s->sh.slice_type != I_SLICE) {
uint8_t skip_flag = ff_hevc_skip_flag_decode(s, x0, y0, x_cb, y_cb);
- lc->cu.pred_mode = MODE_SKIP;
x = y_cb * min_cb_width + x_cb;
for (y = 0; y < length; y++) {
memset(&s->skip_flag[x], skip_flag, length);