Mercurial > mplayer.hg
comparison libmpcodecs/vf_softpulldown.c @ 35179:94565576f967
Remove useless variable.
author | reimar |
---|---|
date | Fri, 26 Oct 2012 18:58:48 +0000 |
parents | 7af3e6f901fd |
children |
comparison
equal
deleted
inserted
replaced
35178:327e3968a50b | 35179:94565576f967 |
---|---|
142 free(vf->priv); | 142 free(vf->priv); |
143 } | 143 } |
144 | 144 |
145 static int vf_open(vf_instance_t *vf, char *args) | 145 static int vf_open(vf_instance_t *vf, char *args) |
146 { | 146 { |
147 struct vf_priv_s *p; | |
148 vf->config = config; | 147 vf->config = config; |
149 vf->put_image = put_image; | 148 vf->put_image = put_image; |
150 vf->uninit = uninit; | 149 vf->uninit = uninit; |
151 vf->default_reqs = VFCAP_ACCEPT_STRIDE; | 150 vf->default_reqs = VFCAP_ACCEPT_STRIDE; |
152 vf->priv = p = calloc(1, sizeof(struct vf_priv_s)); | 151 vf->priv = calloc(1, sizeof(struct vf_priv_s)); |
153 vf->priv->state = 0; | 152 vf->priv->state = 0; |
154 return 1; | 153 return 1; |
155 } | 154 } |
156 | 155 |
157 const vf_info_t vf_info_softpulldown = { | 156 const vf_info_t vf_info_softpulldown = { |