[MPlayer-cvslog] r25828 - trunk/libmpcodecs/vf_screenshot.c

reimar subversion at mplayerhq.hu
Mon Jan 21 20:59:27 CET 2008


Author: reimar
Date: Mon Jan 21 20:59:27 2008
New Revision: 25828

Log:
Remove useless casts


Modified:
   trunk/libmpcodecs/vf_screenshot.c

Modified: trunk/libmpcodecs/vf_screenshot.c
==============================================================================
--- trunk/libmpcodecs/vf_screenshot.c	(original)
+++ trunk/libmpcodecs/vf_screenshot.c	Mon Jan 21 20:59:27 2008
@@ -119,7 +119,7 @@ static void scale_image(struct vf_priv_s
     dst_stride[0] = priv->stride;
     dst_stride[1] = dst_stride[2] = 0;
     if (!priv->buffer)
-	priv->buffer = (uint8_t*)memalign(16, dst_stride[0]*priv->dh);
+	priv->buffer = memalign(16, dst_stride[0]*priv->dh);
 
     dst[0] = priv->buffer;
     dst[1] = dst[2] = 0;
@@ -132,7 +132,7 @@ static void start_slice(struct vf_instan
     if (vf->priv->shot) {
 	vf->priv->store_slices = 1;
 	if (!vf->priv->buffer)
-	    vf->priv->buffer = (uint8_t*)memalign(16, vf->priv->stride*vf->priv->dh);
+	    vf->priv->buffer = memalign(16, vf->priv->stride*vf->priv->dh);
     }
     
 }



More information about the MPlayer-cvslog mailing list