[FFmpeg-devel] [PATCH 3/3] example: update muxing example to purple API
Michael Niedermayer
michaelni at gmx.at
Sat Jan 28 08:30:04 CET 2012
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
doc/examples/muxing.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index e72bfac..e9add2d 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 */
--
1.7.5.4
More information about the ffmpeg-devel
mailing list