[FFmpeg-cvslog] example: update muxing example to purple API
Michael Niedermayer
git at videolan.org
Sat Jan 28 20:15:21 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 28 08:28:44 2012 +0100| [afe9105f66259d12fe8fa17b9be3494b3996d287] | committer: Michael Niedermayer
example: update muxing example to purple API
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=afe9105f66259d12fe8fa17b9be3494b3996d287
---
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 */
More information about the ffmpeg-cvslog
mailing list