From 4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Apr 2016 17:17:51 +0200 Subject: h264: remove pointless setting of some variables in loop_filter Those should already be set to the correct values. --- libavcodec/h264_slice.c | 2 -- 1 file changed, 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 = -- cgit v1.2.3