[FFmpeg-cvslog] doc/examples/muxing: free swr context at the end
Michael Niedermayer
git at videolan.org
Sun Jul 27 01:24:52 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jul 27 00:50:58 2014 +0200| [8b1d54ba40ff63a2b98ff59fb47bd59b0b52d19d] | committer: Michael Niedermayer
doc/examples/muxing: free swr context at the end
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b1d54ba40ff63a2b98ff59fb47bd59b0b52d19d
---
doc/examples/muxing.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 4550428..3ab36c7 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);
}
/**************************************************************/
More information about the ffmpeg-cvslog
mailing list