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:02 +0200 |
commit | c0f8801e47932cc62d4ac88d0fbcbc3a0594c168 (patch) | |
tree | e345ce4d7bab00e036c80c7672e4d9c4fb69013d /libavfilter/vf_il.c | |
parent | 5feac96fdb37a8c4b55020fb7316b30689bcd0b4 (diff) | |
download | ffmpeg-c0f8801e47932cc62d4ac88d0fbcbc3a0594c168.tar.gz |
avfilter/il: Avoid using non public AV_PIX_FMT_NB
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_il.c')
-rw-r--r-- | libavfilter/vf_il.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c index e755caa6e0..b19fea1b6a 100644 --- a/libavfilter/vf_il.c +++ b/libavfilter/vf_il.c @@ -86,7 +86,7 @@ static int query_formats(AVFilterContext *ctx) AVFilterFormats *formats = NULL; int fmt; - for (fmt = 0; fmt < AV_PIX_FMT_NB; fmt++) { + for (fmt = 0; av_pix_fmt_desc_get(fmt); fmt++) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt); if (!(desc->flags & AV_PIX_FMT_FLAG_PAL) && !(desc->flags & AV_PIX_FMT_FLAG_HWACCEL)) ff_add_format(&formats, fmt); |