vf_tinterlace: fix logical/bit op mixup

Fixes CID966642

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/8/head
Michael Niedermayer 12 years ago
parent 521daf1409
commit e797f22efa
  1. 2
      libavfilter/vf_tinterlace.c

@ -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",

Loading…
Cancel
Save