changeset 35181:1a50a0bcd444

Use local variable since we already have it.
author reimar
date Fri, 26 Oct 2012 19:06:50 +0000
parents c27aa6515169
children b534bdb14c5f
files libmpcodecs/vf_tinterlace.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_tinterlace.c	Fri Oct 26 19:03:26 2012 +0000
+++ b/libmpcodecs/vf_tinterlace.c	Fri Oct 26 19:06:50 2012 +0000
@@ -218,10 +218,10 @@
     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;
 }