aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@peaktime.be>2004-03-03 15:41:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-03-03 15:41:21 +0000
commitbc874daea8273e2471f5a6f914cdc9cf97371a1c (patch)
tree967f82d529194e1dcc9865caedc0378950ec6f2f /ffmpeg.c
parent81c5f887485a3d46ec5948832acc7da8167b5248 (diff)
downloadffmpeg-bc874daea8273e2471f5a6f914cdc9cf97371a1c.tar.gz
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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);