diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-27 17:43:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-27 17:44:15 +0200 |
commit | 1dbc98461b62fa0215c916e8ae79cd12c8a2ae75 (patch) | |
tree | df74b6af0a5f0394a0022d8590e81abfc666df06 /libavfilter/vf_mergeplanes.c | |
parent | c0f8801e47932cc62d4ac88d0fbcbc3a0594c168 (diff) | |
download | ffmpeg-1dbc98461b62fa0215c916e8ae79cd12c8a2ae75.tar.gz |
avfilter/vf_mergeplanes: Avoid using non public AV_PIX_FMT_NB
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_mergeplanes.c')
-rw-r--r-- | libavfilter/vf_mergeplanes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_mergeplanes.c b/libavfilter/vf_mergeplanes.c index 6fec816a4a..c76e82a419 100644 --- a/libavfilter/vf_mergeplanes.c +++ b/libavfilter/vf_mergeplanes.c @@ -120,7 +120,7 @@ static int query_formats(AVFilterContext *ctx) int i; s->outdesc = av_pix_fmt_desc_get(s->out_fmt); - for (i = 0; i < AV_PIX_FMT_NB; i++) { + for (i = 0; av_pix_fmt_desc_get(i); i++) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i); if (desc->comp[0].depth_minus1 == s->outdesc->comp[0].depth_minus1 && av_pix_fmt_count_planes(i) == desc->nb_components) |