diff libmpcodecs/vf_tinterlace.c @ 35181:1a50a0bcd444

Use local variable since we already have it.
author reimar
date Fri, 26 Oct 2012 19:06:50 +0000
parents 7af3e6f901fd
children
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;
 }