changeset 35247:e979453a6af8

Remove pointless variable.
author reimar
date Mon, 05 Nov 2012 20:11:34 +0000
parents db605820eef9
children b192c23ea7f1
files libmpcodecs/vf_tfields.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_tfields.c	Mon Nov 05 19:32:28 2012 +0000
+++ b/libmpcodecs/vf_tfields.c	Mon Nov 05 20:11:34 2012 +0000
@@ -498,13 +498,12 @@
 
 static int vf_open(vf_instance_t *vf, char *args)
 {
-	struct vf_priv_s *p;
 	vf->config = config;
 	vf->put_image = put_image;
 	vf->query_format = query_format;
 	vf->uninit = uninit;
 	vf->default_reqs = VFCAP_ACCEPT_STRIDE;
-	vf->priv = p = calloc(1, sizeof(struct vf_priv_s));
+	vf->priv = calloc(1, sizeof(struct vf_priv_s));
 	vf->priv->mode = 4;
 	vf->priv->parity = -1;
 	if (args) sscanf(args, "%d:%d", &vf->priv->mode, &vf->priv->parity);