diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-24 19:55:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-24 20:21:40 +0200 |
commit | a3d62f3377b2ead0c6f9a00f720b2c3a5395e71c (patch) | |
tree | a676576dfc029d774bdf0717bb94e97bf45093fa | |
parent | af125739382370541139df1eadf30eac64b95a0a (diff) | |
download | ffmpeg-a3d62f3377b2ead0c6f9a00f720b2c3a5395e71c.tar.gz |
vf_fade: Fix alpha flag integration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_fade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 5bdec1132e..44170fd026 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -127,7 +127,7 @@ static int config_props(AVFilterLink *inlink) s->vsub = pixdesc->log2_chroma_h; s->bpp = av_get_bits_per_pixel(pixdesc) >> 3; - s->alpha &= pixdesc->flags & AV_PIX_FMT_FLAG_ALPHA; + s->alpha &= !!(pixdesc->flags & AV_PIX_FMT_FLAG_ALPHA); s->is_packed_rgb = ff_fill_rgba_map(s->rgba_map, inlink->format) >= 0; /* use CCIR601/709 black level for studio-level pixel non-alpha components */ |