diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2006-06-30 05:53:28 +0000 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2006-06-30 05:53:28 +0000 |
commit | f2508b1712b82827e69032fc5e53c4458a4f5ccd (patch) | |
tree | 418a0b13e9229e15ea13ac694e4cb514bba785ec | |
parent | 3f6d6af66e876ebfa263513a7b5834e1f90b785b (diff) | |
download | ffmpeg-f2508b1712b82827e69032fc5e53c4458a4f5ccd.tar.gz |
anothe useless sizeof(char)
Originally committed as revision 5555 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 830c4fabfd..7aca549193 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) { |