Commit afe9105f authored by Michael Niedermayer's avatar Michael Niedermayer

example: update muxing example to purple API

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 762311ff
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment