mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
avformat/rtpenc_chain: use the proper function to free AVFormatContext
Fixes ticket #7075 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
db77230894
commit
3eff98c927
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user