aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_boxblur.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-06 13:29:37 +0200
committerAnton Khirnov <anton@khirnov.net>2012-10-12 12:45:39 +0200
commit59ee9f78b0cc4fb84ae606fa317d8102ad32a627 (patch)
tree253bd434e8b7416d62d8d5f16f1f443cf05c7bd4 /libavfilter/vf_boxblur.c
parent50ba57e0ce63d9904269ea0728936a0c79f8bfb5 (diff)
downloadffmpeg-59ee9f78b0cc4fb84ae606fa317d8102ad32a627.tar.gz
lavfi: do not use av_pix_fmt_descriptors directly.
Diffstat (limited to 'libavfilter/vf_boxblur.c')
-rw-r--r--libavfilter/vf_boxblur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c
index b638c71465..755d98ea2a 100644
--- a/libavfilter/vf_boxblur.c
+++ b/libavfilter/vf_boxblur.c
@@ -139,7 +139,7 @@ static int query_formats(AVFilterContext *ctx)
static int config_input(AVFilterLink *inlink)
{
- const AVPixFmtDescriptor *desc = &av_pix_fmt_descriptors[inlink->format];
+ const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
AVFilterContext *ctx = inlink->dst;
BoxBlurContext *boxblur = ctx->priv;
int w = inlink->w, h = inlink->h;