You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_blurdetect: remove set but not used variables
This commit is contained in:
@@ -131,8 +131,6 @@ static float edge_width(BLRContext *blr, int i, int j, int8_t dir, int w, int h,
|
|||||||
int p1;
|
int p1;
|
||||||
int p2;
|
int p2;
|
||||||
int k, x, y;
|
int k, x, y;
|
||||||
int edge1;
|
|
||||||
int edge2;
|
|
||||||
int radius = blr->radius;
|
int radius = blr->radius;
|
||||||
|
|
||||||
switch(dir) {
|
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
|
if (tmp <= 0) // local maximum found
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
edge1 = k;
|
|
||||||
width += k;
|
width += k;
|
||||||
|
|
||||||
// search in +(dX/dY) direction
|
// 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
|
if (tmp >= 0) // local maximum found
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
edge2 = k;
|
|
||||||
width += k;
|
width += k;
|
||||||
|
|
||||||
// for 45 degree directions approximate edge width in pixel units: 0.7 ~= sqrt(2)/2
|
// for 45 degree directions approximate edge width in pixel units: 0.7 ~= sqrt(2)/2
|
||||||
|
Reference in New Issue
Block a user