comparison libmpcodecs/vf_screenshot.c @ 36758:0fa1993a31c3

vf_screenshot: remove pointless cast.
author reimar
date Sun, 16 Feb 2014 14:47:37 +0000
parents 18518cb8a99e
children 88b4aa330150
comparison
equal deleted inserted replaced
36757:18518cb8a99e 36758:0fa1993a31c3
174 } 174 }
175 mpi->width=vf->dmpi->width; 175 mpi->width=vf->dmpi->width;
176 176
177 mpi->flags|=MP_IMGFLAG_DIRECT; 177 mpi->flags|=MP_IMGFLAG_DIRECT;
178 178
179 mpi->priv=(void*)vf->dmpi; 179 mpi->priv=vf->dmpi;
180 } 180 }
181 181
182 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) 182 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)
183 { 183 {
184 mp_image_t *dmpi = (mp_image_t *)mpi->priv; 184 mp_image_t *dmpi = (mp_image_t *)mpi->priv;