# HG changeset patch # User takis # Date 1158235447 0 # Node ID dcefff960aeb782edede88874e587a83cde12576 # Parent 24f1d6a50117ce507594570a91b101f0e87993e6 Remove a redundant memset from libavformat. diff -r 24f1d6a50117 -r dcefff960aeb utils.c --- a/utils.c Tue Sep 12 14:16:48 2006 +0000 +++ b/utils.c Thu Sep 14 12:04:07 2006 +0000 @@ -494,7 +494,7 @@ 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;