[FFmpeg-devel] [PATCH] lavfi/kerndeint: use av_pix_fmt_desc_get instead of directly accessing the table
Hendrik Leppkes
h.leppkes at gmail.com
Fri Feb 15 15:53:54 CET 2013
Fixes FATE in MSVC DLL builds.
---
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 382b8a7..12eb969 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;
--
1.8.0.msysgit.0
More information about the ffmpeg-devel
mailing list