mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vf_tinterlace: fix logical/bit op mixup
Fixes CID966642 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
521daf1409
commit
e797f22efa
@ -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…
Reference in New Issue
Block a user