]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_cropdetect.c
x86: Fix assembly with NASM
[ffmpeg] / libavfilter / vf_cropdetect.c
index ecf1692fcffecb92809d0d42fb16ea09f20bea33..e40609d30de3272f90b1701fb3e2c69c1faef3c8 100644 (file)
@@ -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;