Commit e797f22e authored by Michael Niedermayer's avatar Michael Niedermayer

vf_tinterlace: fix logical/bit op mixup

Fixes CID966642
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 521daf14
......@@ -153,7 +153,7 @@ static int config_out_props(AVFilterLink *outlink)
|| tinterlace->mode == MODE_INTERLEAVE_BOTTOM)) {
av_log(ctx, AV_LOG_WARNING, "low_pass_filter flag ignored with mode %d\n",
tinterlace->mode);
tinterlace->flags &= !TINTERLACE_FLAG_VLPF;
tinterlace->flags &= ~TINTERLACE_FLAG_VLPF;
}
av_log(ctx, AV_LOG_VERBOSE, "mode:%d filter:%s h:%d -> h:%d\n",
tinterlace->mode, (tinterlace->flags & TINTERLACE_FLAG_VLPF) ? "on" : "off",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment