From bc874daea8273e2471f5a6f914cdc9cf97371a1c Mon Sep 17 00:00:00 2001 From: Michel Bardiaux Date: Wed, 3 Mar 2004 15:41:21 +0000 Subject: av_log() patch by (Michel Bardiaux ) Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 622e03aa0b..86fbf3d5b4 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2352,7 +2352,7 @@ static void opt_output_file(const char *filename) if (!strcmp(filename, "-")) filename = "pipe:"; - oc = av_mallocz(sizeof(AVFormatContext)); + oc = av_alloc_format_context(); if (!file_oformat) { file_oformat = guess_format(NULL, filename, NULL); -- cgit v1.2.3