diff options
Diffstat (limited to 'vobsub.c')
-rw-r--r-- | vobsub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1071,7 +1071,7 @@ vobsub_open(const char *const name,const char *const ifo,const int force,void** vob->spu_streams_current = 0; vob->delay = 0; vob->forced_subs=0; - buf = malloc((strlen(name) + 5) * sizeof(char)); + buf = malloc((strlen(name) + 5)); if (buf) { rar_stream_t *fd; mpeg_t *mpg; |