X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_cropdetect.c;h=e40609d30de3272f90b1701fb3e2c69c1faef3c8;hb=8a4284adbf180c8bf3f649d6dd4281565e0dd015;hp=ecf1692fcffecb92809d0d42fb16ea09f20bea33;hpb=43cce41267a7aa71946911e87b4dfce48183bb25;p=ffmpeg diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c index ecf1692fcff..e40609d30de 100644 --- a/libavfilter/vf_cropdetect.c +++ b/libavfilter/vf_cropdetect.c @@ -107,7 +107,7 @@ static int config_input(AVFilterLink *inlink) CropDetectContext *cd = ctx->priv; av_image_fill_max_pixsteps(cd->max_pixsteps, NULL, - &av_pix_fmt_descriptors[inlink->format]); + av_pix_fmt_desc_get(inlink->format)); cd->x1 = inlink->w - 1; cd->y1 = inlink->h - 1;