changeset 36758:0fa1993a31c3

vf_screenshot: remove pointless cast.
author reimar
date Sun, 16 Feb 2014 14:47:37 +0000
parents 18518cb8a99e
children 8f3dc4467047
files libmpcodecs/vf_screenshot.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_screenshot.c	Sun Feb 16 14:47:36 2014 +0000
+++ b/libmpcodecs/vf_screenshot.c	Sun Feb 16 14:47:37 2014 +0000
@@ -176,7 +176,7 @@
 
     mpi->flags|=MP_IMGFLAG_DIRECT;
 
-    mpi->priv=(void*)vf->dmpi;
+    mpi->priv=vf->dmpi;
 }
 
 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)