aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-04-26 20:09:57 +0200
committerPaul B Mahol <onemda@gmail.com>2022-04-26 20:15:26 +0200
commit944e60f4ae3fe368fe162d8355309abb4d84f002 (patch)
tree190769ca12b6b019b0878799d1eb023f6c294ae0 /libavfilter
parent452d611fc70cf7c37df5c68fecedc0e38981e94a (diff)
downloadffmpeg-944e60f4ae3fe368fe162d8355309abb4d84f002.tar.gz
avfilter/vf_blurdetect: remove set but not used variables
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_blurdetect.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/vf_blurdetect.c b/libavfilter/vf_blurdetect.c
index ab30051b2d..e29ed5041d 100644
--- a/libavfilter/vf_blurdetect.c
+++ b/libavfilter/vf_blurdetect.c
@@ -131,8 +131,6 @@ static float edge_width(BLRContext *blr, int i, int j, int8_t dir, int w, int h,
int p1;
int p2;
int k, x, y;
- int edge1;
- int edge2;
int radius = blr->radius;
switch(dir) {
@@ -161,7 +159,6 @@ static float edge_width(BLRContext *blr, int i, int j, int8_t dir, int w, int h,
if (tmp <= 0) // local maximum found
break;
}
- edge1 = k;
width += k;
// search in +(dX/dY) direction
@@ -180,7 +177,6 @@ static float edge_width(BLRContext *blr, int i, int j, int8_t dir, int w, int h,
if (tmp >= 0) // local maximum found
break;
}
- edge2 = k;
width += k;
// for 45 degree directions approximate edge width in pixel units: 0.7 ~= sqrt(2)/2