[MPlayer-cvslog] r37759 - trunk/libmpcodecs/vf_filmdint.c

reimar subversion at mplayerhq.hu
Sat Feb 20 12:34:11 CET 2016


Author: reimar
Date: Sat Feb 20 12:34:11 2016
New Revision: 37759

Log:
vf_filmdint: make code slightly less confusing.

The number of blocks should be the same for both,
so it shouldn't matter which we use, but it seems
more obvious to use the matching one, and it
silences Coverity.

Modified:
   trunk/libmpcodecs/vf_filmdint.c

Modified: trunk/libmpcodecs/vf_filmdint.c
==============================================================================
--- trunk/libmpcodecs/vf_filmdint.c	Sat Feb 20 12:34:10 2016	(r37758)
+++ trunk/libmpcodecs/vf_filmdint.c	Sat Feb 20 12:34:11 2016	(r37759)
@@ -1291,7 +1291,7 @@ static int put_image(struct vf_instance
              (s->low.noise + s->interlaced_low < (s->num_blocks>>8) ||
               s->sad.noise < 160)) ||
             ((show_fields & 12) == 12 &&
-             (ps->low.noise + ps->interlaced_low < (s->num_blocks>>8) ||
+             (ps->low.noise + ps->interlaced_low < (ps->num_blocks>>8) ||
               ps->sad.noise < 160))) {
             p->export_count++;
             dmpi = vf_get_image(vf->next, mpi->imgfmt, MP_IMGTYPE_EXPORT,


More information about the MPlayer-cvslog mailing list