ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]>

> 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);
 }
 
 /**************************************************************/

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to