diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-20 08:43:48 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 20:00:13 +0400 |
commit | 79393a8363d6bb9920754247df00f1b5259e6efd (patch) | |
tree | a8991d78db0652fc3b004ade2f3c3a0365f9fda3 /libavfilter/vf_smartblur.c | |
parent | 2c5b92fe90463402be6bf611ef40195f86f434fd (diff) |
Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_smartblur.c')
-rw-r--r-- | libavfilter/vf_smartblur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_smartblur.c b/libavfilter/vf_smartblur.c index e1f27ec21b..0402d1a99f 100644 --- a/libavfilter/vf_smartblur.c +++ b/libavfilter/vf_smartblur.c @@ -169,7 +169,7 @@ static int alloc_sws_context(FilterParam *f, int width, int height, unsigned int static int config_props(AVFilterLink *inlink) { SmartblurContext *sblur = inlink->dst->priv; - const AVPixFmtDescriptor *desc = &av_pix_fmt_descriptors[inlink->format]; + const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); sblur->hsub = desc->log2_chroma_w; sblur->vsub = desc->log2_chroma_h; |