summaryrefslogtreecommitdiffstats
path: root/libmpdemux/ebml.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/ebml.c')
-rw-r--r--libmpdemux/ebml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/ebml.c b/libmpdemux/ebml.c
index a007bd4ad4..d22314fa8d 100644
--- a/libmpdemux/ebml.c
+++ b/libmpdemux/ebml.c
@@ -230,7 +230,7 @@ ebml_read_ascii (stream_t *s, uint64_t *length)
if (length)
*length = len + l;
- str = (char *) malloc (len+1);
+ str = malloc (len + 1);
if (stream_read(s, str, len) != (int) len)
{
free (str);