Commit 8b1d54ba authored by Michael Niedermayer's avatar Michael Niedermayer

doc/examples/muxing: free swr context at the end

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bfb3b2b7
......@@ -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);
}
/**************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment