From f2508b1712b82827e69032fc5e53c4458a4f5ccd Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 30 Jun 2006 05:53:28 +0000 Subject: [PATCH] anothe useless sizeof(char) Originally committed as revision 5555 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 830c4fabfd1..7aca5491938 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1369,7 +1369,7 @@ int av_tempfile(char *prefix, char **filename) { *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) { -- 2.39.2