aboutsummaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Niedermayer2014-07-27 00:50:58 +0200
committerMichael Niedermayer2014-07-27 00:50:58 +0200
commit8b1d54ba40ff63a2b98ff59fb47bd59b0b52d19d (patch)
tree4a4a4e5f41cd2c9305f11bc742a49f12e976c5a4 /doc/examples
parentbfb3b2b7a6ec0e35ba400941183862137b91bf32 (diff)
doc/examples/muxing: free swr context at the end
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples')
-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);
}
/**************************************************************/