summaryrefslogtreecommitdiff
path: root/doc/examples/muxing.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/muxing.c')
-rw-r--r--doc/examples/muxing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 4550428a8e..3ab36c7a0e 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -547,6 +547,7 @@ static void close_stream(AVFormatContext *oc, OutputStream *ost)
av_frame_free(&ost->frame);
av_frame_free(&ost->tmp_frame);
sws_freeContext(ost->sws_ctx);
+ swr_free(&ost->swr_ctx);
}
/**************************************************************/