Mercurial > mplayer.hg
changeset 33441:d494a6d78677
Use int as type, there is no reason to use char which also
causes issues since it may be either signed or unsigned.
author | reimar |
---|---|
date | Mon, 30 May 2011 21:16:37 +0000 |
parents | 12e6ac943b41 |
children | ed7f2a6b58e6 |
files | libmpcodecs/vf_dint.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_dint.c Mon May 30 20:59:48 2011 +0000 +++ b/libmpcodecs/vf_dint.c Mon May 30 21:16:37 2011 +0000 @@ -32,7 +32,7 @@ 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 @@ 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);