diff utils.c @ 3372:055f0405c523 libavcodec

anothe useless sizeof(char)
author reynaldo
date Fri, 30 Jun 2006 05:53:28 +0000
parents 4d807145f29a
children b8996cc5ccae
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) {