aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-14 12:04:07 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-14 12:04:07 +0000
commit5894991f947721e4823cce695130d28b8a46bbc8 (patch)
treea84a338f0c1982f6964f95a951427e4c5ece811e /libavformat/utils.c
parenta41e9d6899b7fc81cbf9a3dd7a047d8758d6c6c7 (diff)
downloadffmpeg-5894991f947721e4823cce695130d28b8a46bbc8.tar.gz
Remove a redundant memset from libavformat.
Originally committed as revision 6250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9bac8f8775..b0171c0fb3 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -494,7 +494,7 @@ void avformat_get_context_defaults(AVFormatContext *s){
AVFormatContext *av_alloc_format_context(void)
{
AVFormatContext *ic;
- ic = av_mallocz(sizeof(AVFormatContext));
+ ic = av_malloc(sizeof(AVFormatContext));
if (!ic) return ic;
avformat_get_context_defaults(ic);
ic->av_class = &av_format_context_class;