Mercurial > libavcodec.hg
changeset 3372:055f0405c523 libavcodec
anothe useless sizeof(char)
author | reynaldo |
---|---|
date | Fri, 30 Jun 2006 05:53:28 +0000 |
parents | a922021d6455 |
children | b8996cc5ccae |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Fri Jun 30 03:19:31 2006 +0000 +++ b/utils.c Fri Jun 30 05:53:28 2006 +0000 @@ -1369,7 +1369,7 @@ *filename = tempnam(".", prefix); #else size_t len = strlen(prefix) + 12; /* room for "/tmp/" and "XXXXXX\0" */ - *filename = av_malloc(len * sizeof(char)); + *filename = av_malloc(len); #endif /* -----common section-----*/ if (*filename == NULL) {