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
204 CropDetectContext *s = ctx->priv;204 CropDetectContext *s = ctx->priv;
205 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);205 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
206 const int bufsize = inlink->w * inlink->h;206 const int bufsize = inlink->w * inlink->h;
207 int bpp;
208 207
209 av_image_fill_max_pixsteps(s->max_pixsteps, NULL, desc);208 av_image_fill_max_pixsteps(s->max_pixsteps, NULL, desc);
210 209
@@ -216,7 +215,6 @@ static int config_input(AVFilterLink *inlink) · 5 unmodified lines
216 s->x2 = 0;215 s->x2 = 0;
217 s->y2 = 0;216 s->y2 = 0;
218 217
219 bpp = s->max_pixsteps[0];
220 s->window_size = FFMAX(s->reset_count, 15);218 s->window_size = FFMAX(s->reset_count, 15);
221 s->tmpbuf = av_malloc(bufsize);219 s->tmpbuf = av_malloc(bufsize);
222 s->filterbuf = av_malloc(bufsize * s->max_pixsteps[0]);220 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