aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_il.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-15 11:23:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-15 11:23:14 +0200
commitc7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4 (patch)
treeb734a52c2c51db2b0ccf4b4159abe9865746ceb2 /libavfilter/vf_il.c
parentff4680922fc4f1295081da45173e9a71d141a045 (diff)
downloadffmpeg-c7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4.tar.gz
replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_il.c')
-rw-r--r--libavfilter/vf_il.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c
index 783b91a97e..c2ed6abc8a 100644
--- a/libavfilter/vf_il.c
+++ b/libavfilter/vf_il.c
@@ -88,7 +88,7 @@ static int query_formats(AVFilterContext *ctx)
for (fmt = 0; fmt < AV_PIX_FMT_NB; fmt++) {
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(fmt);
- if (!(desc->flags & PIX_FMT_PAL) && !(desc->flags & PIX_FMT_HWACCEL))
+ if (!(desc->flags & AV_PIX_FMT_FLAG_PAL) && !(desc->flags & AV_PIX_FMT_FLAG_HWACCEL))
ff_add_format(&formats, fmt);
}
@@ -106,7 +106,7 @@ static int config_input(AVFilterLink *inlink)
il->nb_planes = FFMAX(il->nb_planes, desc->comp[i].plane);
il->nb_planes++;
- il->has_alpha = !!(desc->flags & PIX_FMT_ALPHA);
+ il->has_alpha = !!(desc->flags & AV_PIX_FMT_FLAG_ALPHA);
if ((ret = av_image_fill_linesizes(il->linesize, inlink->format, inlink->w)) < 0)
return ret;