[FFmpeg-cvslog] vf_tinterlace: fix logical/bit op mixup

Michael Niedermayer git at videolan.org
Sun Jan 6 04:41:05 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan  6 04:12:20 2013 +0100| [e797f22efa81a65d2b40e44a31cc1d73e0b14ef6] | committer: Michael Niedermayer

vf_tinterlace: fix logical/bit op mixup

Fixes CID966642

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e797f22efa81a65d2b40e44a31cc1d73e0b14ef6
---

 libavfilter/vf_tinterlace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 6d6f672..909784e 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/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",



More information about the ffmpeg-cvslog mailing list