Commit e6ec7e18 authored by takis's avatar takis

Remove a redundant memset from libavformat.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6250 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9cc0f083
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment