summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-28 08:28:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-28 19:47:25 +0100
commitafe9105f66259d12fe8fa17b9be3494b3996d287 (patch)
treee6b477edf70758e36049a5db3726468d91ba80ef /doc/examples
parent762311ff94e78d6f6cdd344882123210c1270757 (diff)
example: update muxing example to purple API
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/muxing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index e72bfacc49..e9add2d5d8 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -499,7 +499,7 @@ int main(int argc, char **argv)
}
/* write the stream header, if any */
- av_write_header(oc);
+ avformat_write_header(oc, NULL);
picture->pts = 0;
for(;;) {
/* compute current audio and video time */