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:
Michael Niedermayer 2012-01-28 08:28:44 +01:00
parent 762311ff94
commit afe9105f66

View File

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