OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c858ce
)
h264: remove pointless setting of some variables in loop_filter
author
Anton Khirnov
<anton@khirnov.net>
Wed, 13 Apr 2016 15:17:51 +0000
(17:17 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 24 Apr 2016 08:06:25 +0000
(10:06 +0200)
Those should already be set to the correct values.
libavcodec/h264_slice.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_slice.c
b/libavcodec/h264_slice.c
index
25f4cbf
..
4c52eff
100644
(file)
--- 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 =