diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-20 06:43:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 18:00:13 +0200 |
commit | 79393a8363d6bb9920754247df00f1b5259e6efd (patch) | |
tree | a8991d78db0652fc3b004ade2f3c3a0365f9fda3 /libavfilter/vf_overlay.c | |
parent | 2c5b92fe90463402be6bf611ef40195f86f434fd (diff) | |
download | ffmpeg-streaming-79393a8363d6bb9920754247df00f1b5259e6efd.zip ffmpeg-streaming-79393a8363d6bb9920754247df00f1b5259e6efd.tar.gz |
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_overlay.c')
-rw-r--r-- | libavfilter/vf_overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 4f2f423..f060684 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -217,7 +217,7 @@ static int config_input_overlay(AVFilterLink *inlink) char *expr; double var_values[VAR_VARS_NB], res; int ret; - const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[inlink->format]; + const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(inlink->format); av_image_fill_max_pixsteps(over->overlay_pix_step, NULL, pix_desc); |