[Ffmpeg-cvslog] r5555 - trunk/libavcodec/utils.c

reynaldo subversion
Fri Jun 30 07:53:28 CEST 2006


Author: reynaldo
Date: Fri Jun 30 07:53:28 2006
New Revision: 5555

Modified:
   trunk/libavcodec/utils.c

Log:
anothe useless sizeof(char)

Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	(original)
+++ trunk/libavcodec/utils.c	Fri Jun 30 07:53:28 2006
@@ -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) {




More information about the ffmpeg-cvslog mailing list