[MPlayer-cvslog] r33529 - trunk/libmpcodecs/vf_dint.c

reimar subversion at mplayerhq.hu
Mon May 30 23:16:38 CEST 2011


Author: reimar
Date: Mon May 30 23:16:37 2011
New Revision: 33529

Log:
Use int as type, there is no reason to use char which also
causes issues since it may be either signed or unsigned.

Modified:
   trunk/libmpcodecs/vf_dint.c

Modified: trunk/libmpcodecs/vf_dint.c
==============================================================================
--- trunk/libmpcodecs/vf_dint.c	Mon May 30 22:59:48 2011	(r33528)
+++ trunk/libmpcodecs/vf_dint.c	Mon May 30 23:16:37 2011	(r33529)
@@ -32,7 +32,7 @@ struct vf_priv_s {
   float sense; // first parameter
   float level; // second parameter
   unsigned int imgfmt;
-  char diff;
+  int diff;
   uint32_t max;
 //  int dfr;
 //  int rdfr;
@@ -73,7 +73,7 @@ static int config (struct vf_instance *v
       vf->priv->diff = 31;
     mp_msg (MSGT_VFILTER, MSGL_INFO, "Drop-interlaced: %dx%d diff %d / level %u\n",
            vf->priv->pmpi->width, vf->priv->pmpi->height,
-           (int)vf->priv->diff, (unsigned int)vf->priv->max);
+           vf->priv->diff, (unsigned int)vf->priv->max);
 //    vf->priv->rdfr = vf->priv->dfr = 0;
     vf->priv->was_dint = 0;
     return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);


More information about the MPlayer-cvslog mailing list