Message ID | DB6PR0101MB22147E77F7B1F67B1DD723F98F989@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com |
---|---|
State | Accepted |
Commit | f0dd4ab055b16bcfe2f9ad1f00d109494db135aa |
Headers | show |
Series | [FFmpeg-devel,1/2] avfilter/vf_cropdetect: Remove set-but-unused variable | expand |
Context | Check | Description |
---|---|---|
andriy/commit_msg_x86 | warning | The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ". |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c index eec0c7ab68..7e985fb271 100644 --- a/libavfilter/vf_cropdetect.c +++ b/libavfilter/vf_cropdetect.c @@ -204,7 +204,6 @@ static int config_input(AVFilterLink *inlink) CropDetectContext *s = ctx->priv; const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); const int bufsize = inlink->w * inlink->h; - int bpp; av_image_fill_max_pixsteps(s->max_pixsteps, NULL, desc); @@ -216,7 +215,6 @@ static int config_input(AVFilterLink *inlink) s->x2 = 0; s->y2 = 0; - bpp = s->max_pixsteps[0]; s->window_size = FFMAX(s->reset_count, 15); s->tmpbuf = av_malloc(bufsize); s->filterbuf = av_malloc(bufsize * s->max_pixsteps[0]);
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- Will apply this patchset soon. libavfilter/vf_cropdetect.c | 2 -- 1 file changed, 2 deletions(-)