vf_tinterlace: fix logical/bit op mixup

Fixes CID966642

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-01-06 04:12:20 +01:00
parent 521daf1409
commit e797f22efa

View File

@ -153,7 +153,7 @@ static int config_out_props(AVFilterLink *outlink)
|| tinterlace->mode == MODE_INTERLEAVE_BOTTOM)) { || tinterlace->mode == MODE_INTERLEAVE_BOTTOM)) {
av_log(ctx, AV_LOG_WARNING, "low_pass_filter flag ignored with mode %d\n", av_log(ctx, AV_LOG_WARNING, "low_pass_filter flag ignored with mode %d\n",
tinterlace->mode); 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", av_log(ctx, AV_LOG_VERBOSE, "mode:%d filter:%s h:%d -> h:%d\n",
tinterlace->mode, (tinterlace->flags & TINTERLACE_FLAG_VLPF) ? "on" : "off", tinterlace->mode, (tinterlace->flags & TINTERLACE_FLAG_VLPF) ? "on" : "off",