From 5ad43af9a62cfd5422dc22f37dd2a2327fa75b7c Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Fri, 15 Feb 2013 15:53:54 +0100 Subject: [PATCH] lavfi/kerndeint: use av_pix_fmt_desc_get instead of directly accessing the table Fixes FATE in MSVC DLL builds. Signed-off-by: Michael Niedermayer --- libavfilter/vf_kerndeint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c index 382b8a71ed..12eb969b22 100644 --- a/libavfilter/vf_kerndeint.c +++ b/libavfilter/vf_kerndeint.c @@ -96,7 +96,7 @@ static int query_formats(AVFilterContext *ctx) static int config_props(AVFilterLink *inlink) { KerndeintContext *kerndeint = inlink->dst->priv; - const AVPixFmtDescriptor *desc = &av_pix_fmt_descriptors[inlink->format]; + const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); int ret; kerndeint->vsub = desc->log2_chroma_h;