mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-21 15:00:27 +00:00
example: update muxing example to purple API
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
762311ff94
commit
afe9105f66
@ -499,7 +499,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* write the stream header, if any */
|
/* write the stream header, if any */
|
||||||
av_write_header(oc);
|
avformat_write_header(oc, NULL);
|
||||||
picture->pts = 0;
|
picture->pts = 0;
|
||||||
for(;;) {
|
for(;;) {
|
||||||
/* compute current audio and video time */
|
/* compute current audio and video time */
|
||||||
|
Loading…
Reference in New Issue
Block a user