mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-21 14:53:10 +00:00
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 <michaelni@gmx.at>
This commit is contained in:
parent
0018221c03
commit
5ad43af9a6
@ -96,7 +96,7 @@ static int query_formats(AVFilterContext *ctx)
|
|||||||
static int config_props(AVFilterLink *inlink)
|
static int config_props(AVFilterLink *inlink)
|
||||||
{
|
{
|
||||||
KerndeintContext *kerndeint = inlink->dst->priv;
|
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;
|
int ret;
|
||||||
|
|
||||||
kerndeint->vsub = desc->log2_chroma_h;
|
kerndeint->vsub = desc->log2_chroma_h;
|
||||||
|
Loading…
Reference in New Issue
Block a user