aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-01-26 20:05:01 +0100
committerPaul B Mahol <onemda@gmail.com>2021-01-26 20:08:05 +0100
commit199d9e705a076606e3f86b01ae2927b48cd5a098 (patch)
treea38e1cd4f665e22dd27efc38874b146f990eef8d /libavfilter
parent499c3193a5c59896a5f66863e0db07c915c8f4fb (diff)
downloadffmpeg-199d9e705a076606e3f86b01ae2927b48cd5a098.tar.gz
avfilter/vf_lenscorrection: remove unused elements
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_lenscorrection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c
index a74adea4a6..9386f795da 100644
--- a/libavfilter/vf_lenscorrection.c
+++ b/libavfilter/vf_lenscorrection.c
@@ -38,8 +38,6 @@
typedef struct LenscorrectionCtx {
const AVClass *av_class;
- int width;
- int height;
int planewidth[4];
int planeheight[4];
int depth;
@@ -262,8 +260,6 @@ static int config_output(AVFilterLink *outlink)
rect->planeheight[0] = rect->planeheight[3] = inlink->h;
rect->planewidth[1] = rect->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w);
rect->planewidth[0] = rect->planewidth[3] = inlink->w;
- outlink->w = rect->width = inlink->w;
- outlink->h = rect->height = inlink->h;
rect->nb_planes = av_pix_fmt_count_planes(inlink->format);
rect->filter_slice = rect->depth <= 8 ? filter8_slice : filter16_slice;
if (rect->interpolation)