[FFmpeg-cvslog] h264: remove pointless setting of some variables in loop_filter
Anton Khirnov
git at videolan.org
Mon Jun 20 15:42:15 CEST 2016
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Apr 13 17:17:51 2016 +0200| [4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69] | committer: Anton Khirnov
h264: remove pointless setting of some variables in loop_filter
Those should already be set to the correct values.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69
---
libavcodec/h264_slice.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 25f4cbf..4c52eff 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 =
More information about the ffmpeg-cvslog
mailing list