History

avfilter/vf_cropdetect: Remove set-but-unused variable

Andreas Rheinhardt committed 4 years ago

Commit f0dd4ab1 parent a2d7da01 file · +0 −2Browse files

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

Unified · Split

libavfilter/vf_cropdetect.c+0−2
@@ -204,7 +204,6 @@ static int config_input(AVFilterLink *inlink) · 203 unmodified lines
204204 CropDetectContext *s = ctx->priv;
205205 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
206206 const int bufsize = inlink->w * inlink->h;
207− int bpp;
208207
209208 av_image_fill_max_pixsteps(s->max_pixsteps, NULL, desc);
210209
@@ -216,7 +215,6 @@ static int config_input(AVFilterLink *inlink) · 5 unmodified lines
216215 s->x2 = 0;
217216 s->y2 = 0;
218217
219− bpp = s->max_pixsteps[0];
220218 s->window_size = FFMAX(s->reset_count, 15);
221219 s->tmpbuf = av_malloc(bufsize);
222220 s->filterbuf = av_malloc(bufsize * s->max_pixsteps[0]);

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