aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-26 15:51:43 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-26 15:51:43 +0000
commitdb9f690747581b906025ae45b5ae7b1136dfaf36 (patch)
tree6272bb15d32ed2c7fe41b73932bc708dbc8fcd76
parent3183c53efa65d06ed7ae2c35b8557e6b6dbdbe08 (diff)
remove useless calloc cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23667 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_gl2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 89d5bd5f61..55e2e4334d 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -228,8 +228,7 @@ static int initTextures(void)
if (texgrid)
free(texgrid);
- texgrid = (struct TexSquare *)
- calloc (texnumx * texnumy, sizeof (struct TexSquare));
+ texgrid = calloc (texnumx * texnumy, sizeof (struct TexSquare));
raw_line_len = image_width * image_bytes;