[SCM] libav/experimental: Remove a redundant memset from libavformat.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:50:46 UTC 2013


The following commit has been merged in the experimental branch:
commit 5894991f947721e4823cce695130d28b8a46bbc8
Author: Panagiotis Issaris <takis.issaris at uhasselt.be>
Date:   Thu Sep 14 12:04:07 2006 +0000

    Remove a redundant memset from libavformat.
    
    Originally committed as revision 6250 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9bac8f8..b0171c0 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list