changeset 25800:f40e4a379384

Remove useless casts
author reimar
date Mon, 21 Jan 2008 19:59:27 +0000
parents 4e4927b0c91b
children 8b23a7370abb
files libmpcodecs/vf_screenshot.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_screenshot.c	Mon Jan 21 10:55:56 2008 +0000
+++ b/libmpcodecs/vf_screenshot.c	Mon Jan 21 19:59:27 2008 +0000
@@ -119,7 +119,7 @@
     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 @@
     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);
     }
     
 }