Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-20 08:43:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-20 20:00:13 +0400
commit79393a8363d6bb9920754247df00f1b5259e6efd (patch)
treea8991d78db0652fc3b004ade2f3c3a0365f9fda3 /libavfilter/vf_idet.c
parent2c5b92fe90463402be6bf611ef40195f86f434fd (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_idet.c')
-rw-r--r--libavfilter/vf_idet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c
index d64c48c85c..d7c65444e0 100644
--- a/libavfilter/vf_idet.c
+++ b/libavfilter/vf_idet.c
@@ -195,7 +195,7 @@ static int end_frame(AVFilterLink *link)
return 0;
if (!idet->csp)
- idet->csp = &av_pix_fmt_descriptors[link->format];
+ idet->csp = av_pix_fmt_desc_get(link->format);
if (idet->csp->comp[0].depth_minus1 / 8 == 1)
idet->filter_line = (void*)filter_line_c_16bit;