aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/ve_vfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ve_vfw.c')
-rw-r--r--libmpcodecs/ve_vfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ve_vfw.c b/libmpcodecs/ve_vfw.c
index c43d389ba9..27c5c83d80 100644
--- a/libmpcodecs/ve_vfw.c
+++ b/libmpcodecs/ve_vfw.c
@@ -139,7 +139,7 @@ mp_msg(MSGT_WIN32,MSGL_INFO,"\n");
mp_msg(MSGT_WIN32,MSGL_ERR,"Cannot open Compressor data file!\n");
return NULL;
}
- drvdata = (char *) malloc(st.st_size);
+ drvdata = malloc(st.st_size);
if (fread(drvdata, st.st_size, 1, fd) != 1) {
mp_msg(MSGT_WIN32,MSGL_ERR,"Cannot read Compressor data file!\n");
fclose(fd);