From 5894991f947721e4823cce695130d28b8a46bbc8 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 14 Sep 2006 12:04:07 +0000 Subject: Remove a redundant memset from libavformat. Originally committed as revision 6250 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/utils.c') 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; -- cgit v1.2.3