diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-09-25 13:10:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-28 16:11:01 +0200 |
commit | fb35f7d7e1c95cb8b809968c9f00f0424d0a3e50 (patch) | |
tree | ad93e7ac5a83428e28eeaa6ff56f90897ede4e6c /libavfilter/vf_boxblur.c | |
parent | 6d98e2db35d22ed50a2195da23eda13baff491b5 (diff) | |
download | ffmpeg-streaming-fb35f7d7e1c95cb8b809968c9f00f0424d0a3e50.zip ffmpeg-streaming-fb35f7d7e1c95cb8b809968c9f00f0424d0a3e50.tar.gz |
vf_boxblur: remove useless code.
This block was probably leftovers from code refactoring.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_boxblur.c')
-rw-r--r-- | libavfilter/vf_boxblur.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c index a10b630..ef5da06 100644 --- a/libavfilter/vf_boxblur.c +++ b/libavfilter/vf_boxblur.c @@ -309,13 +309,6 @@ static void draw_slice(AVFilterLink *inlink, int y0, int h0, int slice_dir) int cw = inlink->w >> boxblur->hsub, ch = h0 >> boxblur->vsub; int w[4] = { inlink->w, cw, cw, inlink->w }; int h[4] = { h0, ch, ch, h0 }; - uint8_t *dst[4], *src[4]; - - for (plane = 0; inpicref->data[plane] && plane < 4; plane++) { - int y = plane == 1 || plane == 2 ? y0 >> boxblur->vsub : y0; - src[plane] = inpicref ->data[plane] + inpicref ->linesize[plane] * y; - dst[plane] = outpicref->data[plane] + outpicref->linesize[plane] * y; - } for (plane = 0; inpicref->data[plane] && plane < 4; plane++) hblur(outpicref->data[plane], outpicref->linesize[plane], |