summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-21 19:59:27 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-21 19:59:27 +0000
commit7d3a813f17f315ff61a063d6fd3d815bf3b8c71e (patch)
tree63023f232986f444dc91db35cda5a104f258541e /libmpcodecs
parent407f085fa0ebc6f45eddd293d15915594ac6e24d (diff)
downloadmpv-7d3a813f17f315ff61a063d6fd3d815bf3b8c71e.tar.bz2
mpv-7d3a813f17f315ff61a063d6fd3d815bf3b8c71e.tar.xz
Remove useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25828 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_screenshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c
index 88cc8a6323..43e731db5e 100644
--- a/libmpcodecs/vf_screenshot.c
+++ b/libmpcodecs/vf_screenshot.c
@@ -119,7 +119,7 @@ static void scale_image(struct vf_priv_s* priv, mp_image_t *mpi)
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_instance_s* vf, mp_image_t *mpi){
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);
}
}