aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vd_mtga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_mtga.c')
-rw-r--r--libmpcodecs/vd_mtga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_mtga.c b/libmpcodecs/vd_mtga.c
index f6eee54cbe..310d6e2702 100644
--- a/libmpcodecs/vd_mtga.c
+++ b/libmpcodecs/vd_mtga.c
@@ -92,7 +92,7 @@ static int control(sh_video_t *sh, int cmd, void *arg, ...)
/* init driver */
static int init(sh_video_t *sh)
{
- sh->context = (TGAInfo *) calloc(1, sizeof(TGAInfo));
+ sh->context = calloc(1, sizeof(TGAInfo));
last_w = -1;
return 1;