summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-04-13 17:17:51 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-24 10:06:25 +0200
commit4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69 (patch)
tree2080701a1bd355452356db0d9082c60ae43baeee /libavcodec
parent9c858ce33fa9b94ebc320dd9d9fa423e708e90cc (diff)
h264: remove pointless setting of some variables in loop_filter
Those should already be set to the correct values.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_slice.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 25f4cbfb9d..4c52effc06 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -1817,9 +1817,7 @@ static void loop_filter(const H264Context *h, H264SliceContext *sl, int start_x,
for (mb_y = end_mb_y - FRAME_MBAFF(h); mb_y <= end_mb_y; mb_y++) {
int mb_xy, mb_type;
mb_xy = sl->mb_xy = mb_x + mb_y * h->mb_stride;
- sl->slice_num = h->slice_table[mb_xy];
mb_type = h->cur_pic.mb_type[mb_xy];
- sl->list_count = h->list_counts[mb_xy];
if (FRAME_MBAFF(h))
sl->mb_mbaff =