diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-15 11:23:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-15 11:23:14 +0200 |
commit | c7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4 (patch) | |
tree | b734a52c2c51db2b0ccf4b4159abe9865746ceb2 /libavfilter/vf_hflip.c | |
parent | ff4680922fc4f1295081da45173e9a71d141a045 (diff) | |
download | ffmpeg-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_hflip.c')
-rw-r--r-- | libavfilter/vf_hflip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c index 0250b438e6..0ee65899a9 100644 --- a/libavfilter/vf_hflip.c +++ b/libavfilter/vf_hflip.c @@ -47,8 +47,8 @@ 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_HWACCEL || - desc->flags & PIX_FMT_BITSTREAM || + if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL || + desc->flags & AV_PIX_FMT_FLAG_BITSTREAM || (desc->log2_chroma_w != desc->log2_chroma_h && desc->comp[0].plane == desc->comp[1].plane))) ff_add_format(&pix_fmts, fmt); @@ -87,7 +87,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) av_frame_copy_props(out, in); /* copy palette if required */ - if (av_pix_fmt_desc_get(inlink->format)->flags & PIX_FMT_PAL) + if (av_pix_fmt_desc_get(inlink->format)->flags & AV_PIX_FMT_FLAG_PAL) memcpy(out->data[1], in->data[1], AVPALETTE_SIZE); for (plane = 0; plane < 4 && in->data[plane]; plane++) { |