diff options
Diffstat (limited to 'doc/examples/muxing.c')
-rw-r--r-- | 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 3ec2eb66d0..8b0ea60bb3 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -661,7 +661,7 @@ int main(int argc, char **argv) if (!(fmt->flags & AVFMT_NOFILE)) /* Close the output file. */ - avio_close(oc->pb); + avio_closep(&oc->pb); /* free the stream */ avformat_free_context(oc); |