[MPlayer-cvslog] r35275 - trunk/libmpcodecs/vf_tinterlace.c
reimar
subversion at mplayerhq.hu
Fri Oct 26 21:06:50 CEST 2012
Author: reimar
Date: Fri Oct 26 21:06:50 2012
New Revision: 35275
Log:
Use local variable since we already have it.
Modified:
trunk/libmpcodecs/vf_tinterlace.c
Modified: trunk/libmpcodecs/vf_tinterlace.c
==============================================================================
--- trunk/libmpcodecs/vf_tinterlace.c Fri Oct 26 21:03:26 2012 (r35274)
+++ trunk/libmpcodecs/vf_tinterlace.c Fri Oct 26 21:06:50 2012 (r35275)
@@ -218,10 +218,10 @@ static int vf_open(vf_instance_t *vf, ch
vf->uninit = uninit;
vf->default_reqs = VFCAP_ACCEPT_STRIDE;
vf->priv = p = calloc(1, sizeof(struct vf_priv_s));
- vf->priv->mode = 0;
+ p->mode = 0;
if (args)
- sscanf(args, "%d", &vf->priv->mode);
- vf->priv->frame = 0;
+ sscanf(args, "%d", &p->mode);
+ p->frame = 0;
return 1;
}
More information about the MPlayer-cvslog
mailing list