History

avfilter/vf_blurdetect: remove set but not used variables

Paul B Mahol committed 4 years ago

Commit 944e60f1 parent 452d6111 file · +0 −4Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_blurdetect.c+0−4
@@ -131,8 +131,6 @@ static float edge_width(BLRContext *blr, int i, int j, int8_t dir, int w, int h, · 130 unmodified lines
131131 int p1;
132132 int p2;
133133 int k, x, y;
134− int edge1;
135− int edge2;
136134 int radius = blr->radius;
137135
138136 switch(dir) {
@@ -161,7 +159,6 @@ static float edge_width(BLRContext *blr, int i, int j, int8_t dir, int w, int h, · 22 unmodified lines
161159 if (tmp <= 0) // local maximum found
162160 break;
163161 }
164− edge1 = k;
165162 width += k;
166163
167164 // 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, · 12 unmodified lines
180177 if (tmp >= 0) // local maximum found
181178 break;
182179 }
183− edge2 = k;
184180 width += k;
185181
186182 // for 45 degree directions approximate edge width in pixel units: 0.7 ~= sqrt(2)/2

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t