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 */