Mercurial > libavformat.hg
changeset 1313:dcefff960aeb libavformat
Remove a redundant memset from libavformat.
author | takis |
---|---|
date | Thu, 14 Sep 2006 12:04:07 +0000 |
parents | 24f1d6a50117 |
children | 62a205694fbe |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;