ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Mar 26 00:52:39 2018 -0300| [3eff98c9278804b4b664bad3853e5e60184c6a54] | committer: James Almer
avformat/rtpenc_chain: use the proper function to free AVFormatContext Fixes ticket #7075 Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3eff98c9278804b4b664bad3853e5e60184c6a54 --- libavformat/rtpenc_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c index f768fb002e..e69fdc27cf 100644 --- a/libavformat/rtpenc_chain.c +++ b/libavformat/rtpenc_chain.c @@ -101,7 +101,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s, return 0; fail: - av_free(rtpctx); + avformat_free_context(rtpctx); if (handle) ffurl_close(handle); return ret; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog