diff options
author | Michel Bardiaux <mbardiaux@peaktime.be> | 2004-03-03 15:41:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-03 15:41:21 +0000 |
commit | bc874daea8273e2471f5a6f914cdc9cf97371a1c (patch) | |
tree | 967f82d529194e1dcc9865caedc0378950ec6f2f /output_example.c | |
parent | 81c5f887485a3d46ec5948832acc7da8167b5248 (diff) | |
download | ffmpeg-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 'output_example.c')
-rw-r--r-- | output_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output_example.c b/output_example.c index 2fba8fc6a8..45f6a0645b 100644 --- a/output_example.c +++ b/output_example.c @@ -408,7 +408,7 @@ int main(int argc, char **argv) } /* allocate the output media context */ - oc = av_mallocz(sizeof(AVFormatContext)); + oc = av_alloc_format_context(); if (!oc) { fprintf(stderr, "Memory error\n"); exit(1); |