aboutsummaryrefslogtreecommitdiffstats
path: root/output_example.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-08 08:27:26 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-08 08:27:26 +0000
commit8e2fd8e1d424f3dda8b1966733a32c3842008896 (patch)
treed74f6902e7fb46134dd140744b5f25af9e557a1d /output_example.c
parent88a2896520f667461e7e9ef089d17954fe4ff1d2 (diff)
downloadffmpeg-8e2fd8e1d424f3dda8b1966733a32c3842008896.tar.gz
Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context(). Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'output_example.c')
-rw-r--r--output_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output_example.c b/output_example.c
index bd9b7c3f6f..612146dad0 100644
--- a/output_example.c
+++ b/output_example.c
@@ -453,7 +453,7 @@ int main(int argc, char **argv)
}
/* allocate the output media context */
- oc = av_alloc_format_context();
+ oc = avformat_alloc_context();
if (!oc) {
fprintf(stderr, "Memory error\n");
exit(1);