# HG changeset patch # User reimar # Date 1200945567 0 # Node ID f40e4a3793841d92de73b688583c7b2d85ca0f4c # Parent 4e4927b0c91bbb74ca0f70cde6f59ead9ea7c435 Remove useless casts diff -r 4e4927b0c91b -r f40e4a379384 libmpcodecs/vf_screenshot.c --- 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); } }